/NestJsStarter

nestjs authentication and authorization (RBAC)

Primary LanguageTypeScript

Nest Logo

Description

Nest framework TypeScript starter repository.

NestJS Example with authentication and authorization (RBAC)

Tech Stack

NestJS

Apollo Server Express

Graaphql

JWT

Accesscontrol

Prisma

Mongodb

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Http End Points

Register

http://localhost:5000/auth/register

Login

http://localhost:5000/auth/login

Graphql

Use Apollo studio

Add your acces token to headers

Authorization Bearer eyJhbGciOiJIUz....

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

MIT licensed.