It was a pleasure to learn a little bit of NestJS and decorators :)
Developed with node v14.18.0, not tested with previous versions
You'll need to have MongoDb pre installed in order to run this application.
$ npm install
You can find and change all configs available in .env
file before running
PORT=3000
MONGODB_URL=mongodb://localhost:27017
DB_NAME=gyant2
JWT_KEY=supersecretkey
add the data needed for the demo
$ npm run migrate:up
The first migrated user has the following credentials:
Username: joe.smith@email.com
Password: admin123
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
npm run start:prod
- [] Unit tests
- [] e2e tests
- [] dockerization
- [] CI/CD