This template contains a basic setup for a NestJS project with MongoDB, Swagger and JWT Auth. I have also added a basic user module with CRUD operations for reference.
$ npm install
> Create a env file
> Paste: MONGO_URI= YOUR_MONGO_URI
> Paste: JWT_SECRET=YOUR_SECRET
> Paste: SWAGGER_USERNAME=YOUR_USERNAME
> Paste: SWAGGER_PASSWORD=YOUR_PASSWORD
$ npm run start