This is a Next.js project bootstrapped with create-next-app
.
https://youtu.be/zfAb95tJvZQ?feature=shared
copy .env.development
to .env
cp .env.development .env
connect to convex project, and generateCONVEX_DEPLOYMENT
and NEXT_PUBLIC_CONVEX_URL
in .env.local
automatically
npx convex dev
go to clerk to create a new project and paste secret keys to NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
and CLERK_SECRET_KEY
into .env.local
create a new webhook on clerk dashboard and paste the secret key to CLERK_WEBHOOK_SECRET
go openai playground to create a new api key and paste it to the OPENAI_API_KEY
finally, run the development server on http://localhost:3000
npm run dev
The easiest way to deploy Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.