Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tqmvt/microservice-rest
rest api
https://github.com/tqmvt/microservice-rest
docker go golang microservices
Last synced: about 2 months ago
JSON representation
rest api
- Host: GitHub
- URL: https://github.com/tqmvt/microservice-rest
- Owner: tqmvt
- Created: 2023-03-10T12:34:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-12T15:07:25.000Z (almost 2 years ago)
- Last Synced: 2023-08-22T04:50:25.385Z (over 1 year ago)
- Topics: docker, go, golang, microservices
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-microservice
# start docker
docker compose up --build
# curl commands
curl -X GET localhost:8080/comments | jq
curl -X POST localhost:8080/comments -d "@request.json" | jq
curl -X PUT localhost:8080/comments/1 -d "@request.json" | jq
curl -X DELETE localhost:8080/comments/2 -d "@request.json" | jq