Skip to content

M4ST3R-C0NTR0L/CybrKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CybrKit

Ship your SaaS in days, not months.

Stars License Next.js TypeScript Tailwind CSS

Quick Start β€’ Features β€’ Tech Stack β€’ Deployment β€’ Customization


πŸ“Έ Screenshot

CybrKit Screenshot


✨ Features

Everything you need to launch your SaaS product:

πŸ” Authentication

  • NextAuth.js with multiple providers
  • Google OAuth integration
  • GitHub OAuth integration
  • Email magic link authentication
  • Protected routes middleware
  • Session management

πŸ’³ Payments

  • Stripe subscription management
  • Checkout session creation
  • Customer portal integration
  • Webhook handling for subscription events
  • Three-tier pricing (Free/Pro/Enterprise)
  • Subscription status tracking

🎨 UI/UX

  • 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

πŸ› οΈ Developer Experience

  • TypeScript throughout
  • Prisma ORM with PostgreSQL
  • Tailwind CSS styling
  • ESLint + Prettier ready
  • Production-ready structure
  • Comprehensive documentation

πŸ“§ Communications

  • Resend email integration
  • Transactional email support
  • Welcome emails
  • Subscription notifications

πŸš€ Quick Start

Get your SaaS up and running in 4 simple steps:

1. Clone & Install

git clone https://github.com/M4ST3R-C0NTR0L/cybrkit.git
cd cybrkit
npm install

2. Configure Environment

cp .env.example .env.local

Edit .env.local with your credentials:

  • Database URL (PostgreSQL)
  • NextAuth secret
  • OAuth credentials (Google/GitHub)
  • Stripe API keys
  • Resend API key

3. Setup Database

npx prisma generate
npx prisma db push

4. Run Development Server

npm run dev

Visit http://localhost:3000 to see your SaaS! πŸŽ‰


πŸ› οΈ Tech Stack

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
Email Resend
Deployment Vercel

πŸ“¦ Project Structure

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

πŸš€ Deployment

Deploy to Vercel (One-Click)

Deploy with Vercel

Manual Deployment

  1. Push your code to GitHub
  2. Import your repository on Vercel
  3. Add environment variables in Vercel dashboard
  4. Deploy!

Environment Variables for Production

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

🎨 Customization

Branding

  1. Update src/app/page.tsx with your product name and description
  2. Replace public/logo.svg with your logo
  3. Update colors in tailwind.config.ts and src/app/globals.css
  4. Modify pricing tiers in src/components/landing/pricing.tsx

Database

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_project

Authentication Providers

Add 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!,
  }),
]

Email Templates

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>',
})

πŸ“ˆ Roadmap

  • 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)

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please read our Contributing Guide for more details.


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments


Built by Cybrflux

⭐ Star this repo if you found it helpful!

About

πŸš€ Ship your SaaS in days, not months. Next.js + Auth + Stripe + Dashboard + AI. Production-ready starter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors