- Clone this repository
- Run
npm install
Run npm start
Run npm run dev
Login using given credentials via POST login/
route.
Use generated JWT in Authorization header to access GET stats/
and POST messages/
There are comments in code with TODO(prod)
to tackle things before this is production ready.
Some other global problems:
- missing error handling, logging, monitoring
- missing tests, linter
- add deployment mechanism