| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
The Most AI-Coding-Agent-Friendly SaaS Boilerplate for Next.js
Quick Start โข AI Ready โข Features โข Tech Stack โข Documentation
SaaSPilot is a production-ready, full-stack SaaS boilerplate for Next.js - crafted with great attention to both front-end and back-end functionality. Built with developer experience in mind, it comes with all essential integrations and features, plus comprehensive AI-agent documentation for seamless AI-assisted development.
Perfect for launching AI SaaS applications with credit-based billing! ๐ฏ
SaaSPilot now includes 120KB of comprehensive documentation specifically designed for AI coding assistants:
AI agents (Claude, Cursor, GitHub Copilot) can now understand and modify the codebase autonomously!
# 1. Clone the repository
git clone https://github.com/your-repo/saaspilot.git
cd saaspilot
# 2. Install dependencies
npm install
# 3. Set up environment variables
cp .env.example .env.local
# Edit .env.local with your credentials
# 4. Set up the database
npx prisma generate
npx prisma db push
# 5. Run the development server
npm run devVisit http://localhost:3000 ๐
๐ Start here: CLAUDE.md - Complete guide for AI coding assistants
SaaSPilot is optimized for AI-assisted development with comprehensive documentation designed specifically for AI assistants like Claude, Cursor, and GitHub Copilot.
/
โโโ CLAUDE.md โ Quick start for AI agents
โโโ /docs/ โ Comprehensive technical docs
โ โโโ ai-instructions.md โ Core instructions & conventions โญ
โ โโโ architecture.md โ System architecture & diagrams
โ โโโ coding-patterns.md โ Standard patterns & best practices
โ โโโ database-schema.md โ Complete schema reference
โ โโโ component-map.md โ Component relationships
โ โโโ api-documentation.md โ API reference & server actions
โ โโโ troubleshooting.md โ Common issues & solutions
โโโ /prompts/ โ Task templates for AI agents
โโโ add-new-feature.md โ Feature addition template
โโโ create-api-endpoint.md โ API endpoint template
โโโ modify-database-schema.md โ Schema modification guide
With this documentation, AI coding agents can:
โ Understand the codebase structure in < 5 minutes โ Add new features following established patterns โ Create API endpoints without breaking conventions โ Modify database schema safely โ Navigate components and understand relationships โ Troubleshoot issues independently โ Generate consistent, production-ready code
For Claude/Cursor/Copilot:
Example AI Prompt:
"Add a new task management feature to SaaSPilot following the patterns in /docs/coding-patterns.md and using the template in /prompts/add-new-feature.md"
Frontend:
Backend:
Developer Experience:
๐ Full Documentation: https://cipherslab.gitbook.io/saas-pilot-docs
Start with these for AI-assisted development:
| Document | Purpose | Size |
|---|---|---|
| CLAUDE.md | Quick start for AI agents | 8 KB |
| docs/ai-instructions.md | Core instructions & conventions | 6 KB |
| docs/architecture.md | System architecture | 8 KB |
| docs/coding-patterns.md | Standard code patterns | 10 KB |
| docs/database-schema.md | Database reference | 10 KB |
| docs/component-map.md | Component relationships | 11 KB |
| docs/api-documentation.md | API reference | 6 KB |
| docs/troubleshooting.md | Common issues | 7 KB |
๐ฌ Live Demo (Pro version): https://saas-pilot-demo.vercel.app/
๐ Website: https://saas-pilot.vercel.app
๐ฅ Pricing & FAQ: https://saas-pilot.vercel.app/#pricing
Note: Certain features are disabled in the free version or can't be included in the public repo.
| Feature | Free | Pro |
|---|---|---|
| User Dashboard | โ | โ |
| Full Authentication (Email + OAuth) | โ | โ |
| User Profile Management | โ | โ |
| Landing & Pricing Pages | โ Single | โ Multiple |
| Marketing Pages (About, Contact) | โ | โ |
| Multi-Language Support (i18n) | โ | โ |
| Stripe Credit Purchases | โ | โ |
| Stripe Subscriptions | โ | โ |
| Admin Dashboard | โ | โ |
| Fully Featured Blog | โ | โ |
| Event-Based Analytics | โ | โ |
| AI-Ready Documentation | โ | โ |
saaspilot/ โโโ app/ # Next.js App Router โ โโโ (marketing)/ # Public pages โ โโโ (protected)/ # Auth-required pages โ โโโ auth/ # Authentication pages โ โโโ api/ # API routes & webhooks โโโ components/ # React components โ โโโ ui/ # Shadcn/ui components โ โโโ auth/ # Auth components โ โโโ Common/ # Shared components โโโ actions/ # Server actions โโโ lib/ # Utilities & services โโโ prisma/ # Database schema โโโ docs/ # AI-ready documentation โญ โโโ prompts/ # AI prompt templates โญ โโโ hooks/ # React hooks โโโ types/ # TypeScript types โโโ schemas/ # Zod validation schemas โโโ translations/ # i18n translations โโโ config/ # Configuration files
# Development
npm run dev # Start dev server (http://localhost:3000)
npm run build # Create production build
npm run start # Start production server
# Database
npx prisma studio # Open Prisma Studio (visual database)
npx prisma generate # Regenerate Prisma client
npx prisma db push # Push schema changes to database
npx prisma migrate dev # Create and apply migration
# Code Quality
npm run lint # Run ESLint
npm run type-check # TypeScript type checkingCopy .env.example to .env.local and configure:
# Database
DATABASE_URL="mongodb://..."
# Authentication
NEXTAUTH_SECRET="your-secret"
NEXTAUTH_URL="http://localhost:3000"
# OAuth Providers
GITHUB_CLIENT_ID="..."
GITHUB_CLIENT_SECRET="..."
GOOGLE_CLIENT_ID="..."
GOOGLE_CLIENT_SECRET="..."
# Stripe
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
# Email
RESEND_API_KEY="re_..."
# App Configuration
NEXT_PUBLIC_APP_URL="http://localhost:3000"
ADMIN_EMAILS="admin@example.com"
INITIAL_CREDITS_FOR_NEW="20"Perfect for building:
The credit-based billing system is especially suited for AI/ML applications with usage-based pricing.
SaaSPilot works on any platform supporting Node.js:
Contributions are welcome! Here's how:
This project is licensed under the MIT License - see the LICENSE file for details.
If you find SaaSPilot helpful:
Every star helps! ๐
Built with โค๏ธ by the SaaSPilot team
Special Thanks:
Built for developers, optimized for AI agents ๐ค
Get Started โข
AI Guide โข
Documentation
Made with โค๏ธ for the developer community
| Back | FazBrowse Home | New Git URL |