To start the app with hot reload on code updates for local dev, run:
docker-compose -f docker-compose.dev.yaml up --buildCheck if the server has started with:
curl localhost:8080/api/healthThe result should be {"status":"ok"}.
Access swagger API specifications at:
curl localhost:8080/api/docs/index.html- Implement pagination for
GET /api/v1/postsendpoint - Add customized logger (such as zaplog)
- Implement various middlewares for rate limiting, auth, etc.
- Optimize docker image
- Extract config from environmental variables (such as port, credentials, etc.) or config files
- Handle errors on server startup