nexuskit-cli
v2.0.3
Published
Generate production-ready SaaS applications with authentication, payments, and more
Maintainers
Readme
⚡ NexusKit
Generate production-ready SaaS applications in minutes — not weeks.
🚀 What is NexusKit?
NexusKit is a CLI tool that scaffolds a complete, production-ready SaaS application in a single command. Stop copy-pasting boilerplate — NexusKit wires up authentication, payments, database, email, admin dashboard, security, and deployment configs so you can start shipping features on day one.
npx nexuskit-cli my-appThat's it. Your SaaS is ready.
✨ What You Get
| Feature | Options | |---|---| | 🔐 Authentication | NextAuth.js, Clerk, Supabase Auth | | 💳 Payments | Stripe, Paddle, Lemon Squeezy | | 🗄️ Database | PostgreSQL, MySQL, MongoDB (via Prisma) | | 📧 Email | Resend, SendGrid, Postmark | | 🛡️ Admin Dashboard | Users, analytics, full management UI | | 🔒 Security | Rate limiting, CORS, input validation (OWASP) | | 🚢 Deployment | Docker, Vercel, Fly.io, GitHub Actions CI/CD |
📦 Quick Start
Requirements
- Node.js >= 18.0.0
- npm / yarn / pnpm
Generate your app
# Using npx (no install needed)
npx nexuskit-cli my-app
# Or install globally
npm install -g nexuskit-cli
nexuskit-cli my-appInteractive wizard
NexusKit will guide you through setup:
? Project name: my-saas-app
? Authentication provider: NextAuth.js
? Database: PostgreSQL (Prisma)
? Payment provider: Stripe
? Email service: Resend
? Admin dashboard: Yes
? Deployment target: Vercel + DockerThen sit back — NexusKit generates everything in seconds.
📁 Generated Project Structure
my-app/
├── app/
│ ├── (auth)/ # Login, signup pages
│ ├── (admin)/ # Admin dashboard
│ ├── api/
│ │ ├── auth/ # Auth endpoints
│ │ └── payments/ # Stripe webhooks & checkout
│ └── pricing/ # Pricing page
├── lib/
│ ├── auth.ts # Auth configuration
│ ├── stripe.ts # Stripe client
│ ├── db.ts # Prisma client
│ └── email.ts # Email service
├── prisma/
│ ├── schema.prisma # Database schema
│ └── seed.ts # Seed data
├── middleware.ts # Auth + rate limiting
├── docker-compose.yml
├── .github/workflows/ # CI/CD pipeline
└── .env.example🛠️ Tech Stack
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Database ORM: Prisma
- Styling: Tailwind CSS
- Auth: NextAuth.js / Clerk / Supabase
- Payments: Stripe / Paddle / Lemon Squeezy
- Email: React Email + Resend / SendGrid / Postmark
- Security: OWASP-compliant middleware
🔧 CLI Options
nexuskit-cli <project-name> [options]
Options:
-t, --template <name> Use a preset template
--auth <provider> Set auth provider (nextauth|clerk|supabase)
--db <type> Set database (postgresql|mysql|mongodb)
--payments <provider> Set payment provider (stripe|paddle|lemonsqueezy)
--skip-install Skip npm install
--skip-git Skip git initialization
-v, --version Show version
-h, --help Show help📋 After Generation
cd my-app
# 1. Copy and fill environment variables
cp .env.example .env.local
# 2. Push database schema
npx prisma db push
# 3. Start development server
npm run devYour app runs at http://localhost:3000 🎉
⚡ NexusKit Pro — $99 one-time
The free version gives you a complete production SaaS foundation. Pro adds six feature modules for teams and growth-stage products:
| Pro Feature | What it scaffolds | |---|---| | 🏢 Multi-Tenancy | Subdomain routing, per-tenant isolation, Next.js edge middleware | | 👥 Teams & RBAC | Organizations, email invitations, Owner/Admin/Member roles | | 📊 Advanced Billing | Usage-based metering, seat management, Stripe free trials | | 🤖 AI Starter Layer | GPT-4o + Claude Sonnet streaming, token tracking, cost analytics | | 📈 Analytics | MRR, ARR, churn rate, cohort retention dashboard | | 🎯 Onboarding Flows | Step checklists, progress widget, full onboarding page |
One-time payment. No subscription. All future Pro updates included.
🤝 Contributing
Contributions are welcome! Please open an issue first to discuss what you'd like to change.
- Fork the repo
- Create your branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -m 'feat: add my feature') - Push to the branch (
git push origin feature/my-feature) - Open a Pull Request
📄 License
MIT © mcKrash
