Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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