Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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 50 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.