- TypeScript
- Docker
- Tests -
jestandsupertest - Module Alias - ex: '@config/foo' instead '../../../../config/foo'
- Environment variables management with dotenv
- Logger - Using
winstonto padronize and format logs. For now, logs will only be transported to console. - Express - Basic middlewares (XSS, Helmet, Bodyparser), basic headers (CORS, disable x-powered-by), health check route, http server and requests logs.
- CI - Github Actions running tests on push in any branch.
- Example route
- Auth
- Code coverage >= 95%
Docker compose will install dependencies and up both dev and test environments:
sudo docker-compose up
First install the dependencies:
npm install
In development run:
npm run start:dev
To test:
npm test
To reload tests when code changes:
npm test:watch

