Nest sample for @nestjs/passport using local-strategy and url redirection.
$ yarn
# 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 ;)
# 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 !