Build and ship AI-powered SaaS applications in minutes, not months.
The Starter Kit is an open-source Next.js template that helps developers build AI-powered SaaS applications quickly. It comes pre-configured with authentication, user management, AI integration, and a beautiful UIβall connected to Dev Kit for AI Cloud API.
Jump in now: π Quick Start Guide β’ π§βπ» Create Console Account β’ πΌ Upgrade for More Features
- π§βπ» Clone the repo, wire up your credentials, and start shipping within minutes
- π¦ Launch with user dashboards and the hosted Cloud API already wired together
- π€ Leverage built-in AI integrations and production-ready feature blocks out of the box
- π’ Deploy with a single click to bring up the backend, frontend, admin, and end-user dashboards
- π§° Assemble polished experiences fast with the extensive built-in component library
git clone https://github.com/VibeCodingStarter/starter-kit.git my-project
cd my-project
# Install dependencies
npm install
# Create .env file
cp .env.example .env.local
# Run development server
npm run devOne-liner for Mac/Linux:
printf "Project name (default: cool-project): " && read PROJECT_NAME && PROJECT_NAME=${PROJECT_NAME:-cool-project} && git clone https://github.com/VibeCodingStarter/starter-kit.git $PROJECT_NAME && cd $PROJECT_NAME && npm install && cp .env.example .env.local && npm run devOne-liner for Windows (PowerShell):
$PROJECT_NAME = Read-Host "Project name (default: cool-project)"; if (!$PROJECT_NAME) { $PROJECT_NAME = "cool-project" }; git clone https://github.com/VibeCodingStarter/starter-kit.git $PROJECT_NAME; cd $PROJECT_NAME; npm install; Copy-Item .env.example .env.local; npm run devQuick setup: Copy the one-liner above for your platform and paste it into your terminal. It will prompt for a project name (press Enter to use
cool-projectas the default), then clone the repository, install dependencies, and start the development server.
-
Sign up for a free account at VibeCoding.ad or DevKit4AI.com
-
Right after registering, you'll see your Developer Key in the dashboard
- Developer Key
- Project ID
- Project API Key
- Update your
.env.localfile with these values
- Open http://localhost:3004 to see the starter kit in action
- Explore example pages at
/example-pages - Customize branding in
config/app.config.ts - Add your features using the component library in
components/ui/
Read the full documentation at docs.devkit4ai.com for detailed guides and API references.
- JWT-based authentication with httpOnly cookies
- Role-based access control (RBAC)
- User registration and login flows
- Email verification and password reset
- Secure session management
- 60+ pre-built components built with Radix UI
- Dark mode support with next-themes
- Responsive design optimized for all devices
- Tailwind CSS for easy customization
- Landing page templates for AI SaaS products
- Server Components for optimal performance
- TypeScript for type safety
- ESLint configured with Next.js best practices
- Vitest and Playwright for testing
- Vercel Analytics integration
- Pre-configured connection to Cloud API
- Project-scoped authentication
- Error handling and retry logic
- Support for multiple projects
- Multi-tenancy support
- Project management via Cloud Admin
- API key generation and management
- User analytics and monitoring
- Usage tracking and limits
- AI SaaS landing pages
- Component showcase
- Dashboard layouts
- Use case demonstrations
- Marketing page templates
The Starter Kit operates in project mode, which means:
- All users are scoped to your project
- Users have the
end_userrole - Authentication flows through Cloud API
- Project-specific headers are automatically included
starter-kit/
βββ app/ # Next.js App Router pages
β βββ (auth)/ # Authentication pages
β βββ dashboard/ # Protected user dashboard
β βββ example-pages/ # Component showcase
β βββ layout.tsx # Root layout with providers
βββ components/
β βββ ui/ # Base UI primitives (Radix UI)
β βββ generic/ # Reusable components
β βββ project/ # Project-specific (Header, Footer)
β βββ starter/ # Homepage marketing sections
βββ lib/
β βββ auth-server.ts # Server-side auth helpers
β βββ auth-context.tsx # Client-side auth hooks
β βββ deployment-mode.ts # Configuration validation
βββ config/
βββ app.config.ts # App configuration
lib/deployment-mode.ts- Validates environment variables and constructs API headerslib/auth-server.ts- Server-side authentication (getCurrentUser, requireAuth)lib/auth-context.tsx- Client-side hooks (useAuth, useDeploymentMode)app/actions.ts- Server Actions for login/logoutapp/layout.tsx- Root layout with providers
| Variable | Required | Description |
|---|---|---|
DEVKIT4AI_MODE |
Yes | Always "project" for starter kit |
NEXT_PUBLIC_API_URL |
Yes | Cloud API base URL |
DEVKIT4AI_DEVELOPER_KEY |
Yes | Your developer key from Cloud Admin |
DEVKIT4AI_PROJECT_ID |
Yes | Your project UUID |
DEVKIT4AI_PROJECT_KEY |
Yes | Your project API key |
ENVIRONMENT |
No | Deployment environment (default: local) |
Update config/app.config.ts:
export const appConfig: AppConfig = {
name: "Your App Name",
description: "Your app description",
logo: {
text: "YourApp",
href: "/",
},
// ... more config
};The starter kit uses Tailwind CSS. Customize in tailwind.config.ts:
export default {
theme: {
extend: {
colors: {
// Your custom colors
},
},
},
};All UI components are in components/ui/ and built with Radix UI. Customize them directly or create variants using class-variance-authority.
# Run all tests
npm run test
# Integration tests (Vitest)
npm run test:integration
npm run test:integration:watch
# E2E tests (Playwright)
npm run test:e2e- Push your code to GitHub
- Import project to Vercel
- Add environment variables in Vercel dashboard
- Deploy
The starter kit works on any platform that supports Next.js:
- Netlify
- Railway
- Render
- AWS Amplify
- Docker (Dockerfile.dev included)
Ensure you set the required environment variables on your platform.
npm run dev # Start development server (port 3004)
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
npm run test # Run all testsmake install # Install dependencies
make dev # Run dev server with backend health check
make verify # Run typecheck, lint, audit, and build
make check-cloud-api # Check Cloud API health- Documentation: docs.devkit4ai.com
- Cloud Admin: vibecoding.ad/console or devkit4ai.com/console
- Cloud API: api.vibecoding.ad or api.devkit4ai.com
- GitHub Repository: github.com/VibeCodingStarter/starter-kit
Contributions are welcome! Please read our Contributing Guide for details.
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
- Documentation: docs.devkit4ai.com
- Issues: GitHub Issues
- Community: Join our community for help and discussions
After setting up the Starter Kit:
- Explore Example Pages at
/example-pages - Customize Branding in
config/app.config.ts - Add Your Features using the component library
- Deploy to Production on Vercel or your preferred platform
- Upgrade Your Plan at VibeCoding.ad for higher limits