- Create graphql (https://github.com/99designs/gqlgen) gateway to get informations from internal services and response to client
- Internal service: user-service to store and fetch user data
- Internal service: event-service to store and fetch todo data
- Use gateway implemented by graphql to gather data from internal services and response to client
go test ./...
go get -u github.com/pressly/goose/cmd/goose
docker-compose build
docker-compose up -d
goose -dir db/migrations postgres "user=test password=test dbname=todo sslmode=disable" up
- Open "http://localhost:8080" to the navigation of graphql
- Create todo item using mutation "createTodo"
- View todo item using query "findTodos"