CursorCraft Documentation
A production-ready Next.js starter with authentication, database, billing, and transactional emails. Built for developers who want to ship fast without sacrificing code quality.
What you get
- Next.js 16 with React 19 and TypeScript
- Authentication via NextAuth.js v5 (Google, GitHub OAuth + Magic Links)
- Database with PostgreSQL and Drizzle ORM
- Billing with Stripe or Polar (your choice)
- Email with Resend for transactional messages
- AI Chat via Vercel AI SDK (OpenAI, Anthropic)
- UI with Tailwind CSS and shadcn/ui components
- SEO with metadata helpers, sitemap, and JSON-LD
- Security with rate limiting, CSP headers, and structured logging
- Cursor Rules & Commands to accelerate development
Quick links
- Setup - Get running in 10 minutes
- Authentication - Understand the auth system
- Billing - Add Stripe or Polar billing
- Database - Work with the database
- Email - Send transactional emails
- AI Chat - Add AI chat with Vercel AI SDK
- SEO - Optimize for search engines
- Security - Harden for production
- Cursor Workflow - Use included Cursor rules
- Project Structure - Navigate the codebase