First, configure auth0 and prisma:
auth0andprismaabove are linked to their respective documentation on how to configure them.
Create .env in the root directory then add the following variables:
DATABASE_URL=
SHADOW_DATABASE_URL=Create .env.local in the root directory then add the following variables:
AUTH0_SECRET=
AUTH0_BASE_URL=http://localhost:3000
AUTH0_ISSUER_BASE_URL=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_POST_LOGOUT_REDIRECT=http://localhost:3000/logoutOnce done, proceed installing the application's packages and initialise database schema using prisma.
yarnyarn prisma:migrateyarn run devOpen http://localhost:3000 with your browser to see the result.