Next.js, Nexus, Prisma, Auth0
- Create a new Auth0 app, add
http://localhost:3000/api/callback
to the allowed callback URLs. - Put your Auth0 client ID, client secret and co. in a
/.env
file - Put your DB URL in the
/prisma/.env
file - Start the database locally with
npm run db:start
- Create tables with
npm run db:init
- Start the dev servers with
npm run dev
andnpm run nexus:reflection
- Go to
http://localhost:3000