A Messaging with Golang for Warung Pintar recruitment assignment
Go Version: 1.14
This project requires Go to be installed. On OS X with Homebrew you can just run brew install go
.
Running it then should be as simple as:
$ make up
$ make start
$ make run
Or running inside docker
$ make up
$ make start
$ docker-compose -f docker-compose.prod.yml up -d
$ make start
GET/POST http://127.0.0.1:8000/message
GET http://127.0.0.1:8000/message/{id}
Open openapi doc on port 127.0.0.1:81
GET/POST http://127.0.0.1:8000/graphql
To explore more, open graphql playground
GET http://127.0.0.1:8000/playground
ws://127.0.0.1:8000/ws
To use, open sample client
GET http://127.0.0.1:8000/websocket
http://127.0.0.1:8001
.proto file
./api/proto/messaging/v1
if you run with bloomRPC, make sure the import path is
{project_dir}/api/proto
make test