This project is building using NestJS and MongoDB
Nest packages:
Technology | Version |
---|---|
NodeJS | 20.X |
MongoDB | 5.0 |
Notes:
- There is a docker-compose.yml with mongodb dependency, just use nvm to switch node version.
- Install dependencies
- Install husky hooks
- Launch server
Install dependencies
yarn install
Install and configure husky
npx husky install
You can launch some architecture dependencies with Docker using Docker Compose.
Start services
yarn hello
Stop services
yarn bye
Services | - |
---|---|
MongoDB | 5.0 |
Swagger | View |
Compodoc | View |
Run unit testing band
yarn test
Run end to end testing band
yarn test:e2e
Read more about examples here