MERN Stack Backend Structure Generator
Quickly generate a ready-to-use MERN backend structure directly from VS Code.
✨ Features
- 🚀 Create a complete backend structure in seconds
- 📁 Scalable folders for controllers, models, routes, middleware, utils, uploads, and tests
- 🗄️ MongoDB + Mongoose configuration
- 🔐 JWT authentication environment setup
- ☁️ AWS S3 configuration
- 🌐 Express + CORS setup
- 📦 Automatic npm dependency installation
- 🔄 Nodemon development setup
- 🧪 REST API testing file
- 🚀 Vercel deployment configuration
- 💻 Automatically opens the generated project directory
🚀 Usage
- Open Command Palette (
Ctrl + Shift + P)
- Run MERN: Create Backend Structure
- Enter your project name
- Select the parent folder
- Wait for the setup to complete
- Start development:
npm run dev
📁 Generated Structure
server/
├── config/
│ └── S3.js
├── DB Config/
│ └── DB.js
├── controllers/
├── middleware/
├── models/
├── routes/
├── utils/
├── uploads/
├── tests/
├── .env
├── .gitignore
├── rest.http
├── server.js
├── package.json
└── vercel.json
📦 Included Packages
Production
express · cors · dotenv · mongoose · bcrypt · jsonwebtoken · @aws-sdk/client-s3
Development
nodemon
⚙️ Requirements
🔐 Security
.env is automatically added to .gitignore.
Never commit your database, JWT, or AWS credentials to source control.
📄 License
MIT
Copyright © 2026 Vel-Madhesh
| |