This is a Next.js starter kit that uses NextAuth.js for simple email + password login, Prisma as the ORM, and a Postgres database to persist the data.
Based on the Next.js Postgres Auth Starter with Drizzle template.
First, run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
In second place, launch docker compose to instantiate the required services:
docker compose up -d
Finally, initialize the db with:
pnpm migrate
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.