Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivantans/authorization-api
Sample NestJS application demonstrating JWT authentication with access and refresh tokens, single-device login, and role-based access control for two user roles. Built with Prisma ORM for database management, this project provides a modular, secure approach to authentication workflows.
https://github.com/ivantans/authorization-api
api authentication jwt jwt-authentication nestjs nestjs-backend nodejs prisma prisma-orm roles
Last synced: 2 months ago
JSON representation
Sample NestJS application demonstrating JWT authentication with access and refresh tokens, single-device login, and role-based access control for two user roles. Built with Prisma ORM for database management, this project provides a modular, secure approach to authentication workflows.
- Host: GitHub
- URL: https://github.com/ivantans/authorization-api
- Owner: ivantans
- Created: 2024-10-26T11:41:12.000Z (3 months ago)
- Default Branch: develop
- Last Pushed: 2024-11-04T03:33:37.000Z (2 months ago)
- Last Synced: 2024-11-04T04:24:52.778Z (2 months ago)
- Topics: api, authentication, jwt, jwt-authentication, nestjs, nestjs-backend, nodejs, prisma, prisma-orm, roles
- Language: TypeScript
- Homepage:
- Size: 170 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications.
## Description
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
## Project setup
```bash
$ npm install
```## Compile and run the project
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Run tests
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```## Resources
Check out a few resources that may come in handy when working with NestJS:
- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).## 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](https://docs.nestjs.com/support).
## Stay in touch
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)## License
Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).