Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dev-mvc

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-mvc

Automate the creation of a Node.js MVC folder structure for backend applications. Boost productivity with dev-mvc CLI.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-85.71%
Maintainers
0
Weekly downloads
 
Created
Source

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.

NPM Version License Downloads


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

  1. Navigate to the directory where you want to set up the project:

    cd my-backend-project
    
  2. Run the dev-mvc command:

    dev-mvc
    
  3. 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


License

This project is licensed under the MIT License. See the LICENSE file for details.


Keywords

FAQs

Package last updated on 16 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc