diff --git a/README.md b/README.md index 602fe095074674c6e3e094fa96f952eeb5fe822b..0ef2066a44691106dbdd5ea2c7de61188d67306c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,24 @@ -# gomazon +## gomazon + +## Getting Started + +Start without Docker: + + # cd src/myaktion && go run main.go + +## Build, Start and Stop service using Docker Compose + + # docker compose build + # docker compose up + # docker compose down + ADD Product - # curl -H "Content-Type: application/json" -d '{"description":"test","totalrating":4.0,"price":2.38}' localhost:8080/product/new + +``` +curl -H "Content-Type: application/json" -d '{"description":"test","totalrating":4.0,"price":2.38}' localhost:8080/product/new +``` + Read Product curl localhost:8080/products \ No newline at end of file