This App is crafted with NestJS, Prisma, Mongodb, TypeScript, SwaggerUI
Nest framework TypeScript starter repository.
$ npm install
# install prisma locally
$ npm install prisma --save-dev
# generate schema ( Everytime when schema changes)
$ npx prisma generate
- Go to MongoDB Atlas and create a new mongodb instance
- Copy .env.example as .env
- Paste mongodb url into .env file
Try using mongodb Atlas, OR if you want to add mongodb local, create a replica set otherwise app would not work
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
After running app in watch mode, Go to http://localhost:3000/docs
- Author - Prince K