/nest-auth-sample

Nest sample for nestjs/passport using local-strategy and url redirection

Primary LanguageTypeScript

nest-auth

Nest Logo

Description

Nest sample for @nestjs/passport using local-strategy and url redirection.

Installation

$ yarn

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

don't forget to specify a .env file with COOKIE_SESSION_SECRET environment ;)

Test

# unit tests
$ yarn test

will launch test from the app using the auth module in real conditions : do not hesitate to have a look at the implementation


❤️ Thanks to Nest.js team for this amazing framework !