Just messing around with Nest Js and Auth0
Set up app via Auth0 UI
Install Nest cli npm install -g @nestjs/cli
globally
Create Nest js app nest new <app-name>
cd into app folder
Install the following:
npm install passport-auth0 passport-local passport @nestjs/passport @types/passport-local passport-jwt @types/passport-jwt @nestjs/jwt dotenv
Create User resource in Nest app (User module handles user functions → registration, login, profile management, token validation) nest g resource user --no-spec
(no spec option tells nest not to create a test file for this module, skipping tests for the purpose of this trial)