From b8f67f9b1ca1cf65e84d61c455486d1930d238d7 Mon Sep 17 00:00:00 2001 From: albrecht <flo@DESKTOP-ERC0T8S> Date: Mon, 10 Jul 2023 14:02:25 +0200 Subject: [PATCH] readme test --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 602fe09..0ef2066 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 -- GitLab