Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NestJS Authentication without Passport using Bcrypt, JWT and Redis

License

NotificationsYou must be signed in to change notification settings

anilahir/nestjs-authentication-and-authorization

Repository files navigation

Workflow TestPrettierGPL v3 LicenseHitCount

Description

NestJS Authentication without Passport using Bcrypt, JWT and Redis

Features

  1. Register
  2. Login
  3. Show profile
  4. 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

Author

👤Anil Ahir

Show your support

Give a ⭐️ if this project helped you!

Related projects

Explore more NestJS example projects:

GraphQL example

License

Release under the terms ofMIT


[8]ページ先頭

©2009-2025 Movatter.jp