This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
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.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- GitHub Actions (
.github/workflows/ci-cd.yml) runs on every push tomainand on pull requests targetingmain:- Installs dependencies, generates Prisma client, runs lint and build.
- For automatic deployment when you push to
main, use Vercel’s Git integration (see below).
- Go to Vercel and import this repository (or connect the GitHub repo to an existing project).
- Set the Production Branch to
main. - Add your environment variables in the Vercel project (e.g.
DATABASE_URL,DIRECT_URL, Clerk keys, etc.). - Every push to
mainwill trigger a new deployment.
Optional: to make the CI build use the same env as production, add DATABASE_URL, DIRECT_URL, and any required Clerk/App URL vars as GitHub repository secrets (Settings → Secrets and variables → Actions). The workflow uses placeholders if secrets are not set.
Check out the Next.js deployment documentation for more details.