Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Automate the creation of a Node.js MVC folder structure for backend applications. Boost productivity with dev-mvc CLI.
Tired of manually setting up folder structures for your Node.js backend projects? dev-mvc
is a powerful Node.js CLI tool designed to automate the creation of a standardized MVC folder structure, saving you time and effort. Focus on writing code with this streamlined setup!
Keywords: Node.js MVC, MVC Generator, Backend Structure, Node.js Project Setup, NPM Package
Automatically generate essential backend directories like:
Includes placeholder files like:
Get started quickly with pre-made files like:
user.controller.js
auth.middleware.js
db.config.js
Enjoy a clean, well-defined structure for backend development, perfect for individual developers and teams.
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
Follow these steps to use dev-mvc
in your project:
Create a new project folder:
mkdir my-backend-project
Navigate to your project folder:
cd my-backend-project
Initialize a new Node.js project:
npm init -y
Install the dev-mvc package:
npm install dev-mvc
Stay up-to-date with the latest features:
npm update dev-mvc
We welcome contributions!
Submit issues or pull requests on the official GitHub repository.
👤 Saqlain
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
Automate the creation of a Node.js MVC folder structure for backend applications. Boost productivity with dev-mvc CLI.
The npm package dev-mvc receives a total of 6 weekly downloads. As such, dev-mvc popularity was classified as not popular.
We found that dev-mvc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.