A production-ready Next.js template designed for designers working with AI Coding Assistants (ACAs) like Cursor, Claude, Copilot, and Cody.
- Next.js 14+ with App Router and TypeScript strict mode
- Convex for real-time database and backend functions
- NextAuth.js for authentication
- shadcn/ui component system with Tailwind CSS
- React Hook Form + Zod for type-safe forms
- Learning paths integrated into the codebase
- ACA-optimized patterns and documentation
- Node.js 20+
- A Convex account (sign up free)
-
Clone this repository
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env.local
Fill in your Convex URL and NextAuth secret.
-
Start Convex dev server:
npm run convex:dev
-
In another terminal, start Next.js:
npm run dev
-
Visit http://localhost:3000
- Introduction for Designers - Start here!
- Core Learning Path - Step-by-step tutorials
- ACA Tooling Guide - Using Cursor, Claude, Copilot, Cody
- Stack Reference - Architecture and patterns
- Design System Guide - shadcn/ui and styling
- Governance - Safe zones and protected zones
- Setup and Tour
- Build Your First Screen
- Connect to Convex
- Forms and Validation
- UI Refactoring and Bugfixing
- End-to-End Feature
├─ app/ # Next.js App Router pages
├─ components/ # Reusable React components
├─ features/ # Domain-specific features
├─ convex/ # Convex backend (schema, queries, mutations)
├─ core/ # Core infrastructure (protected)
├─ lib/ # Shared utilities
├─ docs/ # Documentation
├─ learning/ # Learning materials
└─ playgrounds/ # Experimental code
# Development
npm run dev # Start Next.js dev server
npm run convex:dev # Start Convex dev server
# Code Quality
npm run lint # Run ESLint
npm run type-check # TypeScript type checking
npm run format # Format with Prettier
# Testing
npm test # Run unit tests
npm run test:e2e # Run E2E tests
# Features
npm run create-feature # Scaffold a new feature
npm run seed # Seed database with sample datafeatures/- All feature codecomponents/- UI componentslearning/- Learning materialsplaygrounds/- Experimental code
core/- Core infrastructureconvex/system.ts- System functionsapp/api/auth/- Authenticationcore/config/env.ts- Environment config
See Governance for details.
See CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details.
- Check the documentation
- Review learning materials
- Open an issue for bugs or questions