A tiny NestJS service with the following features:
- Prisma typesafe ORM.
- MongoDB document database.
- Swagger API documentation.
- Docker Compose to run replica set instance of MongoDB.
- Basic Continuous Integration.
- Eslint/Prettier setup.
- Pre-configured GitHub Dependabot for automated dependency updates.
- Uses fast Rust-based SWC compiler.
- Unit tests.
Once service is up and running, Swagger API documentation is available here.
$ npm install
- Rename
.env-example
to.env
.
$ npm run start
Note
It also spins up a MongoDB replica set for you using Docker Compose.
$ npm run start:dev
Note
It also spins up a MongoDB replica set for you using Docker Compose.
$ npm run start:prod
$ npm run test:watch
$ npm run test
$ npm run test:e2e
$ npm run test:cov