create-mern-fs-app
v1.0.4
Published
CLI to scaffold a fullstack Vite + Express/Mongo app with client and server folders
Maintainers
Readme
🚀 create-mern-fs-app
A zero-setup CLI tool to scaffold a fullstack app using Vite (React) + Express + MongoDB in seconds.
Perfect for building modern fullstack web apps with organized client and server folders.
✨ Features
- 📦 Instant project structure with
clientandserverdirectories - ⚡️ React + Vite frontend setup
- 🌐 Express backend with MongoDB boilerplate
- 🗂 Includes folders like
models,schema, and.envplaceholder - 📁 Copies template files using
fs-extrafor clean bootstrapping - 🛠 Installs dependencies for both frontend and backend automatically
- 💡 Beginner-friendly and easy to extend
📦 Installation
Using npx (no installation required):
npx create-mern-fs-app myappOr install globally:
npm install -g create-mern-fs-app🧰 Usage
create-mern-fs-app myappYou’ll be prompted to enter a project name (default: myapp).
This will:
- Copy boilerplate files into a new folder called
myapp - Install dependencies in
client/andserver/ - Set you up with a ready-to-code fullstack app
🚦 Project Structure
myapp/
├── client/ # Frontend (Vite + React)
│ ├── src/
│ └── vite.config.js
├── server/ # Backend (Express + MongoDB)
│ ├── index.js
│ ├── models/
│ └── .env🏃♂️ Getting Started
After the scaffold is complete:
cd myapp
# Start the frontend
cd client
npm run dev
# Start the backend
cd ../server
npm run start🧑💻 Author
Created by Vaibhav Tiwari
📬 LinkedIn: https://www.linkedin.com/in/vaibhav-tiwari-41267a227 | GitHub: https://github.com/Vaibhav-stack31
📄 License
This project is licensed under the MIT License.
