create-blank-mern
v1.0.3
Published
Create a blank MERN stack project with Express serving a Vite React app and hot reload
Maintainers
Readme
create-blank-mern
Environment
- Blank React component
- Express server with a single
/api/healthroute - Hot reload via
vite-express(no rebuild-on-save) - MongoDB connection via Mongoose, extendable with your own models/routes
Usage
npx create-blank-mern my-app-name
cd my-app-name
npm install
cp .env.example .env
# Edit .env with your MongoDB connection string
npm run devVisit http://localhost:3000 — React app and Express API run on the same port.
Production
npm run build
npm start