/experiment-nexus-next-auth0

WIP - experimenting with Nexus, Shield, Next.js, Auth0

Primary LanguageTypeScript

Fullstack Graphql with Auth0

Next.js, Nexus, Prisma, Auth0

Spinning it up

  1. Create a new Auth0 app, add http://localhost:3000/api/callback to the allowed callback URLs.
  2. Put your Auth0 client ID, client secret and co. in a /.env file
  3. Put your DB URL in the /prisma/.env file
  4. Start the database locally with npm run db:start
  5. Create tables with npm run db:init
  6. Start the dev servers with npm run dev and npm run nexus:reflection
  7. Go to http://localhost:3000