@surajprasad/create-starterkit
v0.2.7
Published
Production-ready MERN Starterkit generator with Auth, RBAC, Payments, Search, WebSocket, Job Queues, Caching, API Docs, and Docker.
Maintainers
Readme
@surajprasad/create-starterkit
A production-ready MERN (MongoDB, Express, React, Node) Starterkit generator. Features include optional JWT Auth, Email service (Nodemailer), and Docker support.
Usage
To create a new project in a new folder:
npm create @surajprasad/starterkit@latest my-appTo scaffold directly in the current directory:
npm create @surajprasad/create-starterkit@latest .Or using npx:
npx @surajprasad/create-starterkit@latest my-app
# or
npx @surajprasad/create-starterkit@latest .Features
- 🚀 Full-Stack MERN: Modern backend with Express/MongoDB and frontend with Vite or Next.js.
- 🔐 Secure Auth: Built-in JWT Authentication (Login, Register, Reset Password) with email verification.
- 🎭 Advanced RBAC: Granular Role-Based Access Control with per-resource permissions and ownership rules.
- 💳 Payment Gateway: Production-ready Stripe and Razorpay integrations including Webhooks and Checkout.
- ☁️ Cloud Storage: Seamless file uploads to Cloudinary or AWS S3 with pre-configured services.
- 📡 Real-time Engine: Integrated Socket.io for chat, presence tracking, and live notifications.
- 🔍 Power Search: Enterprise-grade search using MongoDB Atlas Search or Elasticsearch.
- 🔔 Notification Hub: Multi-channel alerts supporting both In-App and Firebase Cloud Messaging (Push).
- ⚡ Performance & Caching: Multi-level Redis caching for Routes, DB Services, and Sessions.
- 🕒 Async Background Queue: Integrated Bull Job Queue with Bull-Board GUI for background tasks (Email, Notifications, Search Sync).
- 🛡️ Security Suite: Built-in Rate Limiting, Brute Force protection, and Request Sanitization (NoSQL/XSS).
- 📝 API Documentation: Interactive Swagger UI, ReDoc, and Postman collection with built-in API Versioning.
- 📊 Observability: Advanced logging with Winston, Morgan HTTP tracking, and Sentry error monitoring.
- 🧪 Testing Suite: Pre-configured Jest + Supertest for Unit, Integration, and full E2E testing.
- 🐳 DevOps Ready: One-command setup with Docker Compose and environmental configurations.
- 🛠️ Modular CLI: Interactive scaffolding—choose exactly what you need, nothing you don't.
License
MIT
