Golang endpoint about food recipe and its ingredients (Still working in progress)
- Go: 1.17
- MySql Server
- Endpoint testing tools (Eg: Postman)
Build the project
go build
Run the main script
go run main/main.go
- HTTP GET
localhost:10000/recipe-categories
- HTTP POST
localhost:10000/recipe-categories
. Body = Json{ "name" : "Testing add" }
- HTTP PUT
localhost:10000/recipe-categories/:id
Body = Json{ "name" : "Testing update" }
- HTTP DELETE
localhost:10000/recipe-categories/:id