A production-ready fullstack template optimized for AI-assisted development with Cursor. Features a modern tech stack, pre-configured authentication, and comprehensive component library.
- Production-Ready Setup: Authentication, database, and design system pre-configured
- AI-Optimized: Built specifically for development with Cursor AI
- Component Library: Full shadcn/ui component showcase with interactive examples
- Dark Mode: Built-in theme switching with system preference support
- Interactive Examples: Working demos including games and creative tools
- Comprehensive Documentation: Step-by-step setup guide and best practices
apps/web
- Next.js 15 web application with App Routerapps/supabase
- Supabase local development and migrations
- Framework: Next.js 15 (App Router), React, TypeScript
- Styling: Tailwind CSS, shadcn/ui components
- State Management: Zustand
- Database and Authentication: Supabase (PostgreSQL)
- Build System: Turborepo monorepo, pnpm workspaces
- Deployment: Vercel (recommended)
-
Install dependencies:
pnpm install
-
Set up environment variables:
- Copy
.env.example
to.env.local
inapps/web/
- Add your Supabase URL and anon key
- Copy
-
Start the database:
pnpm db:start # Start local Supabase pnpm db:push # Apply migrations
-
Start development:
pnpm dev # Runs all apps
pnpm dev
- Start all apps in developmentpnpm dev:web
- Start only the web apppnpm dev:db
- Start only Supabase
pnpm build
- Build all apps for productionpnpm lint
- Run ESLint across the monorepopnpm type-check
- TypeScript type checking
pnpm db:start
- Start local Supabasepnpm db:stop
- Stop local Supabasepnpm db:reset
- Reset database to initial statepnpm db:push
- Apply pending migrations
pnpm --filter web add <package>
- Add dependency to web apppnpm --filter supabase add <package>
- Add dependency to supabase app
tutorial/
├── apps/
│ ├── web/ # Next.js application
│ │ ├── src/
│ │ │ ├── app/ # App router pages & API routes
│ │ │ │ ├── design-library/ # Component showcase
│ │ │ │ ├── examples/ # Interactive demos
│ │ │ │ └── getting-started/ # Setup guide
│ │ │ ├── components/ # React components
│ │ │ │ └── ui/ # shadcn/ui components
│ │ │ ├── hooks/ # Custom React hooks
│ │ │ ├── lib/ # Utilities & configs
│ │ │ └── store/ # Zustand state management
│ │ └── public/ # Static assets
│ └── supabase/ # Database & backend
│ └── supabase/
│ └── migrations/ # SQL migrations
├── package.json # Root package.json
├── pnpm-workspace.yaml # pnpm workspace config
└── turbo.json # Turborepo config
- Modern landing page with gradient effects
- Feature highlights and quick start guide
- Links to documentation and component library
- Comprehensive setup guide with tabs for different setups
- Environment variable configuration
- Troubleshooting tips and FAQs
- Prerequisites and system requirements
- Complete shadcn/ui component showcase
- Interactive component demos with code examples
- Copy-to-clipboard functionality
- Components include: Buttons, Cards, Forms, Dialogs, and more
- Interactive demos showcasing real implementations:
- Memory Card Game
- Pomodoro Timer
- Color Palette Generator
- Drum Machine
- Drawing Canvas
- Each example includes full source code