dev-mvc
v1.2.0
Published
Automate the creation of a Node.js MVC folder structure for backend applications. Boost productivity with dev-mvc CLI.
Downloads
440
Maintainers
Readme
dev-mvc: Simplified Node.js MVC Folder Generator
dev-mvc
is a powerful CLI tool designed to automate the creation of MVC folder structures for Node.js backend applications. Save time and focus on writing code with this streamlined setup.
Why Use dev-mvc?
- Boost Productivity: Spend less time setting up directories and files and more time coding.
- Consistency: Maintain a standardized backend structure for better scalability and readability.
- Ideal for Beginners and Teams: Simplifies the process of starting Node.js backend projects.
Key Features
🚀 Automatic Folder Setup
Quickly generates essential backend directories such as:
- Controllers
- Models
- Routes
- Middleware
- Services
- Utils
- Configuration
🛠️ File Creation
Includes placeholder files like:
user.controller.js
auth.middleware.js
db.config.js
💡 Standardized Workflow
Perfect for individual developers and teams who want a clean, organized structure for backend development.
Folder Structure Example
Here’s the structure created by dev-mvc
:
project-root/
├── controllers/
│ └── user.controller.js
├── models/
│ └── user.model.js
├── config/
│ └── db.config.js
├── routes/
│ └── user.routes.js
├── middleware/
│ └── auth.middleware.js
├── services/
│ ├── email.service.js
│ └── payment.service.js
├── utils/
│ ├── helper.util.js
│ └── validator.util.js
└── server.js
Installation
Install globally via npm:
npm install -g dev-mvc
How to Use
Navigate to the directory where you want to set up the project:
cd my-backend-project
Run the
dev-mvc
command:dev-mvc
Your folder structure will be created instantly!
Update the Package
Stay up-to-date with the latest features:
npm update -g dev-mvc
Contribute to dev-mvc
We welcome contributions!
Submit issues or pull requests on the official GitHub repository.
About the Author
👤 Saqlain
- GitHub: itssaqlain06
- LinkedIn: itssaqlain06
License
This project is licensed under the MIT License. See the LICENSE file for details.
- License: MIT License
- Keywords: MIT, Open Source, dev-mvc License, Node.js MVC License
- Project Homepage: https://github.com/itssaqlain06/dev-mvc