REST API template using NestJS and MongoDB, with:
- sample resource ("instrument")
- health route
- lint
- unit tests
- CI workflow
- custom JSON logger
.env
configuration system- OpenAPI spec
- Conventional commits spec
npm run start:dev
npm run start:debug
npm run lint
npm run test
npm run build
npm run start
npm run start:prod
- NestJS framework 🐱
- Express http server framework 🚀
- Mongoose ODM 🍃
- Winston logger 🧾
- ESLint linter 💎
- Airbnb style guide 🎨
- Jest testing framework 🧪
- Husky hooks 🐶
- Conventional commits specification 📚
- GitHub Actions workflow ⚙️
Tested with Node.js versions 16.x
, 17.x
, 18.x
, 19.x
.
Automated CI test runs available.