Ship your SaaS in days, not months.
Quick Start β’ Features β’ Tech Stack β’ Deployment β’ Customization
Everything you need to launch your SaaS product:
- NextAuth.js with multiple providers
- Google OAuth integration
- GitHub OAuth integration
- Email magic link authentication
- Protected routes middleware
- Session management
- Stripe subscription management
- Checkout session creation
- Customer portal integration
- Webhook handling for subscription events
- Three-tier pricing (Free/Pro/Enterprise)
- Subscription status tracking
- Modern dark theme design
- Purple/blue gradient accents
- Fully responsive (mobile + desktop)
- shadcn/ui component library
- Dark/light mode toggle
- Premium landing page
- Clean dashboard interface
- TypeScript throughout
- Prisma ORM with PostgreSQL
- Tailwind CSS styling
- ESLint + Prettier ready
- Production-ready structure
- Comprehensive documentation
- Resend email integration
- Transactional email support
- Welcome emails
- Subscription notifications
Get your SaaS up and running in 4 simple steps:
git clone https://github.com/M4ST3R-C0NTR0L/cybrkit.git
cd cybrkit
npm installcp .env.example .env.localEdit .env.local with your credentials:
- Database URL (PostgreSQL)
- NextAuth secret
- OAuth credentials (Google/GitHub)
- Stripe API keys
- Resend API key
npx prisma generate
npx prisma db pushnpm run devVisit http://localhost:3000 to see your SaaS! π
| Category | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Components | shadcn/ui |
| Auth | NextAuth.js |
| Database | PostgreSQL |
| ORM | Prisma |
| Payments | Stripe |
| Resend | |
| Deployment | Vercel |
CybrKit/
βββ src/
β βββ app/ # Next.js App Router
β β βββ (auth)/ # Auth routes (login/signup)
β β βββ (dashboard)/ # Dashboard routes
β β βββ api/ # API routes
β β βββ page.tsx # Landing page
β β βββ layout.tsx # Root layout
β βββ components/
β β βββ ui/ # shadcn/ui components
β β βββ landing/ # Landing page sections
β β βββ dashboard/ # Dashboard components
β β βββ shared/ # Shared components
β βββ lib/ # Utility functions
β βββ types/ # TypeScript types
βββ prisma/
β βββ schema.prisma # Database schema
βββ public/ # Static assets
- Push your code to GitHub
- Import your repository on Vercel
- Add environment variables in Vercel dashboard
- Deploy!
| Variable | Description | Required |
|---|---|---|
DATABASE_URL |
PostgreSQL connection string | β |
NEXTAUTH_URL |
Your production URL | β |
NEXTAUTH_SECRET |
Random secret for JWT | β |
GOOGLE_CLIENT_ID |
Google OAuth client ID | Optional |
GOOGLE_CLIENT_SECRET |
Google OAuth secret | Optional |
GITHUB_CLIENT_ID |
GitHub OAuth client ID | Optional |
GITHUB_CLIENT_SECRET |
GitHub OAuth secret | Optional |
STRIPE_SECRET_KEY |
Stripe secret key | β |
STRIPE_PUBLISHABLE_KEY |
Stripe publishable key | β |
STRIPE_WEBHOOK_SECRET |
Stripe webhook secret | β |
STRIPE_PRO_PRICE_ID |
Stripe Pro plan price ID | β |
STRIPE_ENTERPRISE_PRICE_ID |
Stripe Enterprise price ID | Optional |
RESEND_API_KEY |
Resend API key | Optional |
EMAIL_FROM |
Sender email address | Optional |
- Update
src/app/page.tsxwith your product name and description - Replace
public/logo.svgwith your logo - Update colors in
tailwind.config.tsandsrc/app/globals.css - Modify pricing tiers in
src/components/landing/pricing.tsx
Edit prisma/schema.prisma to add your own models:
model Project {
id String @id @default(cuid())
name String
userId String
user User @relation(fields: [userId], references: [id])
createdAt DateTime @default(now())
}Then run:
npx prisma migrate dev --name add_projectAdd more OAuth providers in src/lib/auth.ts:
import DiscordProvider from 'next-auth/providers/discord'
providers: [
// ...existing providers
DiscordProvider({
clientId: process.env.DISCORD_CLIENT_ID!,
clientSecret: process.env.DISCORD_CLIENT_SECRET!,
}),
]Customize emails in your API routes using Resend:
import { Resend } from 'resend'
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({
from: process.env.EMAIL_FROM!,
to: user.email,
subject: 'Welcome to CybrKit!',
html: '<p>Your custom email content</p>',
})- Team/organization support
- Role-based access control (RBAC)
- API key management
- Webhook management UI
- Admin dashboard
- Analytics integration
- Documentation site template
- Blog template
- Multi-language support
- Mobile app starter (React Native)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please read our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js for the amazing framework
- shadcn/ui for the beautiful components
- Vercel for the deployment platform
- Stripe for payment processing
Built by Cybrflux
β Star this repo if you found it helpful!
