An open API service indexing awesome lists of open source software.

https://github.com/utsavdotpro/auth-nestjs

A practice project to try Session based and JWT based authentication in NestJS
https://github.com/utsavdotpro/auth-nestjs

backend express-session jwt nestjs practice-project prisma typescript

Last synced: 2 months ago
JSON representation

A practice project to try Session based and JWT based authentication in NestJS

Awesome Lists containing this project

README

          

# Auth-NestJS
A simple back-end project to implement user authentication with the Session and JWT method. Check the following branches for the implementation:

- [session](https://github.com/u-barnwal/auth-nestJS/tree/session)
- [jwt](https://github.com/u-barnwal/auth-nestJS/tree/jwt)

## Installation

```bash
$ yarn install
```

## Running the app

```bash
# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod
```

## Credits
- **NestJS Authentication** from Marius Espejo: https://youtu.be/_L225zpUK0M
- **NestJS Crash Course** from Marius Espejo: https://youtu.be/2n3xS89TJMI

---


Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.