Documentation Overview
Introduction to create-modern-mern-app
create-modern-mern-app is an interactive CLI generator that creates an enterprise-ready full-stack workspace featuring React 19, Express 5, MongoDB, Vite, and official shadcn/ui models.
One-Command Initialization
Run the CLI directly via npx. No global packages required:
bash
bash
npx create-modern-mern-app@latest my-appCore Architecture Pillars
React 19 & Vite 8
Instant Hot Module Replacement, optimized Rollup production bundling, and zero configuration for React 19.
Express 5 & Security
Native async route error handling, Helmet security headers, scoped CORS, and CSRF protection on API routes.
Sliced Layouts
Clean separation between the public marketing layout and the protected authenticated dashboard layout.
shadcn/ui New York Models
Official dashboard-01, login-01, and signup-01 models pre-bundled offline without remote dependencies.
Next stepQuickstart Guide