This is a Next.js project bootstrapped with create-next-app
.
- Create a .env and include your DATABASE_URL from neon
DATABASE_URL=...
- Install, init, generate & migrate prisma
a. Install
npm i -D prisma
b. Init
npx prisma init
c. Once prisma schema is modified run
npx prisma generate
d. Create prisma migrations
npx prisma migrate dev
- Inluce in .env your clerk credentials
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=...
CLERK_SECRET_KEY=...
- Run the development server using only pnpm:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.