This is the starter template for the Next.js App Router Course. It contains the starting code for the dashboard application.
For more information, see the course curriculum on the Next.js Website.
pnpm install
Copy the .env.example
file to .env
and update the values from database.
POSTGRES_URL=
POSTGRES_PRISMA_URL=
POSTGRES_URL_NON_POOLING=
POSTGRES_USER=
POSTGRES_HOST=
POSTGRES_PASSWORD=
POSTGRES_DATABASE=
Run the following command to generate a new secret key for the AUTH_SECRET token.
openssl rand -base64 32
Add the generated key to the .env
file.
AUTH_SECRET=
pnpm dev
Open http://localhost:3000 with your browser to see the result.