swc-init
v1.0.9
Published
CLI to initialize an MVC Node.js project with common dependencies
Downloads
32
Readme
🛠️ swc-init
A powerful CLI tool to scaffold a modern Node.js backend using the MVC pattern — with interactive setup, pre-installed dependencies, and best practices baked in.
Features
- Clean MVC folder structure (
models/,controllers/,routes/, etc.) - Auto-installs popular packages:
express,mongoose,dotenv,cors, and more - Interactive prompts using
inquirer - Dev-only test mode
- Generates
.gitignore,.env,README.md - Automatically sets up
npm startcommand
Installation
You can use swc-init either with npx (no install required) or install it globally:
npx swc-initInstall globally:
npm install -g swc-init
swc-init