This project build for an education purpose only using Nest.js, Typescript, nodeMailar.
$ npm install
$ npm install --force #in the case of ts-jest could problem.
create .env file root of the folder and insert value according to env.example
npm run make:migration-initial #To build a schema
npm run migrate #To migration
npm run migrate:rollback #To rollback migration
npm run migrate:destroy #To destory all migrations
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
You can import postman script available at ./postman/FairTask.postman_collection.json
simply import this file to your postman and hit collection/create api.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Er. Ronak Amlani
- Portfolio work - Techacorn
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.