Backend for Retro built using Go which serves both REST and Websockets.
- Make sure Docker is installed
- Run
make docker.build
whenever you want to build - Run
make docker.up
to start server - Run
make docker.down
to stop server
URL: /ping
Method: GET
Expected Response: PONG
URL: /api/board
Method: PUT
Body:
- title : string
Expected Response:
{
"success": true,
"data": {
"board": "5f28eed5ce811e0f52aa2cc5"
}
}
URL: /api/board?id=string
Method: GET
Params:
- id : string
Expected Response:
{
"success": true,
"data": {
"id": "5f28eed5ce811e0f52aa2cc5",
"title": "",
"columns": [],
"created_at": 1596518101422902733
}
}
- Setup Go
- Setup routing using Gorilla Mux
- Setup Mongo datastore
- Setup REST endpoints
- Setup WS endpoint
- Setup WS handlers
- Swap Columns
- Dockerise
- Log, Recover middleware
- Reporting
- Better logger