
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
create-mvc-server
Advanced tools
A CLI tool to quickly scaffold a server with a database of your choice
The core logic is implemented in packages/create-mvc/src/index.ts
and provides an interactive way to scaffold a new MVC server for your project.
The tool supports the following configuration options:
Server Framework
Database
Language
You can use the tool in two ways:
npx create-mvc
npx create-mvc --template <template-name>
Usage: create-mvc [options] [project-name]
Options:
-t, --template NAME Use a specific template
-h, --help Display this help message
The following templates are available:
pg-ts
: Express + PostgreSQL + TypeScriptpg
: Express + PostgreSQL + JavaScriptmongo-ts
: Express + MongoDB + TypeScriptmongo
: Express + MongoDB + JavaScriptmysql-ts
: Express + MySQL + TypeScriptmysql
: Express + MySQL + JavaScriptsqlite-ts
: Express + SQLite + TypeScriptsqlite
: Express + SQLite + JavaScripthono-pg-ts
: Hono + PostgreSQL + TypeScripthono-pg
: Hono + PostgreSQL + JavaScriptThe generated project will include:
# Create a new project with interactive prompts
npx create-mvc my-server
# Create a new project using a specific template
npx create-mvc my-server --template pg-ts
After project creation, follow the printed instructions to:
Depending on your chosen database, you'll need to:
.env
file:
DATABASE_URL=postgresql://user:password@localhost:5432/dbname
.env
file:
MONGODB_URI=mongodb://localhost:27017/dbname
.env
file:
DATABASE_URL=mysql://user:password@localhost:3306/dbname
.env
file:
DATABASE_URL=file:./dev.db
The generated server can be deployed to various platforms:
Remember to:
FAQs
A CLI tool to quickly scaffold a server with a database of your choice
The npm package create-mvc-server receives a total of 2 weekly downloads. As such, create-mvc-server popularity was classified as not popular.
We found that create-mvc-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.