Projects
View on GitHub
anilahir/nestjs-authentication-and-authorization
About
NestJS Authentication without Passport using Bcrypt, JWT and Redis
Security & PrivacyMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalNestJS Authentication
Description
NestJS Authentication without Passport using Bcrypt, JWT and Redis
Features
- Register
- Login
- Show profile
- Logout
Technologies stack:
- JWT
- Bcrypt
- TypeORM + MySQL
- Redis
- Docker
Setup
1. Install the required dependencies
$ npm install
2. Rename the .env.example filename to .env and set your local variables
$ mv .env.example .env
3. Start the application
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Docker for development
# start the application
$ npm run docker:up
# stop the application
$ npm run docker:down
Swagger documentation
References
- NestJS Authentication without Passport
- NestJS, Redis and Postgres local development with Docker Compose
Author
👤 Anil Ahir
- Twitter: @anilahir220
- Github: @anilahir
- LinkedIn: @anilahir
Show your support
Give a ⭐️ if this project helped you!
Related projects
Explore more NestJS example projects:
License
Release under the terms of MIT
Explore related projects
Loading…