@imprakhartripathi/scafollder
v1.1.3
Published
CLI tool to scaffold my custom Mongo-Express-Node backend project structure with TypeScript
Maintainers
Readme
@imprakhartripathi/scafollder
🚀 A CLI tool to scaffold a Node.js + Express + TypeScript + MongoDB backend with my custom Modified MVC structure. No need to waste time setting up boilerplate – just scaffold and start coding.
✨ Features
- Pre-configured Express + MongoDB backend
- TypeScript support out of the box
- Pre-wired Nodemon + ts-node for development
- Ready-to-use auth, environment configs, and structure
- Automatically merges scripts and dependencies into your project’s
package.json
📦 Installation
You don’t need to install it globally — just use npx:
npx @imprakhartripathi/scafollder initOr install globally:
npm install -g @imprakhartripathi/scafollder
scafollder init⚡ Usage
Run inside an empty directory (or an existing Node.js project):
scafollder initThis will:
- Copy the backend template into your current directory.
- Merge the template’s
scripts,dependencies, anddevDependenciesinto your project’s rootpackage.json. - Leave you ready to go with a working backend setup.
📜 Example Scripts
After initialization, you’ll have these scripts in your package.json:
{
"scripts": {
"start": "cd src && nodemon --exec ts-node server.ts",
"build": "tsc",
"fresh": "clear && npm start",
"setup": "npm i && npm fund && clear && npm start"
}
}🛠️ Tech Stack
- Node.js
- Express.js
- TypeScript
- MongoDB + Mongoose
- JWT Auth
- Nodemailer
- Razorpay integration
🚀 Getting Started
Scaffold your backend:
npx @imprakhartripathi/scafollder initInstall dependencies:
npm installStart the server:
npm start
📌 Notes
- If you previously used the unscoped package
scafollder, migrate to@imprakhartripathi/scafollder. - Old package is deprecated and will no longer receive updates.
📄 License
MIT © Prakhar Tripathi
