A modern AI‐powered code generation platform built with Next.js, TailwindCSS, Convex, and Clerk for authentication.
- AI‐driven code snippet generation
- Protected routes for user profiles and content creation
- Real‐time data with Convex
- Fully styled with TailwindCSS and shadcn UI
- Authentication and session management via Clerk
- TypeScript support
- Framework: Next.js 15
- Styling: TailwindCSS 4, shadcn UI
- Auth: Clerk (
@clerk/nextjs) - Database & Realtime: Convex
- AI: Google Generative AI & VAPI‐AI
- Linting: ESLint (Next.js & TypeScript)
- CI/CD: Vercel
git clone https://github.com/your‐org/codeflex.git
cd codeflex
npm install- Duplicate
.env.local.exampleto.env.local. - Fill in your Clerk keys, Convex deployment URL, and VAPI AI keys.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=...
CLERK_SECRET_KEY=...
NEXT_PUBLIC_CONVEX_URL=...
NEXT_PUBLIC_VAPI_API_KEY=...# development
npm run dev
# build and start
npm run build
npm startdev– Launch in development modebuild– Compile production buildstart– Run production serverlint– Run ESLintformat– Prettier formatting (if configured)
- Main CSS:
app/globals.css - shadcn UI config:
components.json
MIT © [Your Name or Org]