NestJS application with user and property CRUD operations
Authentication using NestJS Guard & JWT
Authorization using Interceptor and metadata
Validation using class-validator & class-transformer packages
Prisma for database handling
Globally error filtering
After installing prisma package, run:
$ npx prisma init
Update the .env file with proper database url.
After adding models in schema.prisma file, update the models on database:
$ npx prisma db push
For visual database editor in web, run:
$ npx prisma studio
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# 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 - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.