This is a fun project to discover grpc
protocol, and Golang.
-
copy
.env.example
to.env
and change the values, or not :) -
run:
env `cat .env | grep -v ^#` docker compose up -d
apis will be available on port
$GATEWAY_PORT
(defined in.env
)
GET /todos
GET /todos/:id
POST /todos # (body: {content: string})
PATCH /todos/:id # (body: {content: string})
PATCH /todos/:id/mark-as-complete
PATCH /todos/:id/mark-as-incomplete
DELETE /todos/:id
- add
users
andauth
services, both will be written in a different language.
- feedback is very welcomed