A Next.js 14 template with AI chat + RAG capabilities, built for General Development's internal projects.
- Next.js 14 with App Router
- Supabase (local dev + production)
- Drizzle ORM
- shadcn/ui components
- AI SDK for LLM integration
- Auth.js for authentication
- Install dependencies:
pnpm install- Start Supabase locally:
supabase start- Start the development server:
pnpm devVisit localhost:3000 to see your app.
- Use
pnpmfor all package management - Follow the App Router structure in
app/directory - Use shadcn components for UI consistency
- Implement loading states for all async operations
- Display backend responses in the UI
- Use Drizzle for DB operations
- Use Pinecone for vector databases
- Use Vercel AI SDK for AI operations
General Development