项目
在 GitHub 查看
anilahir/nestjs-authentication-and-authorization
关于
NestJS Authentication without Passport using Bcrypt, JWT and Redis
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文NestJS 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
探索相关项目
加载中…