Skip to content

NesJS backend with user, auth & bookmark rest apis and end-2-end testing

Notifications You must be signed in to change notification settings

ikramdeveloper/nestjs-bookmark-api

Repository files navigation

NestJS Rest Apis

Auth, User & Bookmark rest apis using NestJS, ExpressJS and Prisma.

PostgreSQL as database and docker for installing database

Passport jwt authentication using @UseGuards & custom @User decorators

Prisma

Init prisma

npx prisma init

Generate migrations

npx prisma migrate dev

Deploy migrations

npx prisma migrate deploy

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.

About

NesJS backend with user, auth & bookmark rest apis and end-2-end testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published