create-backend-node-app
v1.0.0
Published
A powerful and customizable CLI tool to scaffold full-stack Node.js or TypeScript backend applications — instantly!
Downloads
8
Readme
🚀 create-backend-node-app
A powerful and customizable CLI tool to scaffold full-stack Node.js or TypeScript backend applications — instantly!
📦 Features
- 🔧 Project scaffolding with customizable templates
- 🛠️ Supports JavaScript & TypeScript
- 🌱 Initializes
npm, installs dependencies, and sets up project structure - 💬 Interactive CLI prompts via
@inquirer/prompts - 📁 Generates folder/file structure based on best practices
- 🧪 Future support for adding testing, database, and GitHub integration
🖥️ Templates Available
REST API (JavaScript)
Sets up an Express.js API withdotenvandbody-parser.TypeScript API
Adds full TypeScript setup including types andts-node-dev.
🚀 Installation (Local Development)
git clone https://github.com/harsh623/create-node-app.git cd create-node-app npm install To make it globally accessible:
npm link 🧑💻 Usage
Basic usage
create-backend-node-app
With project name
create-backend-node-app my-app
With template option
create-backend-node-app my-app --template typescript
Or shortcut
create-backend-node-app my-app -t rest-api If no name or template is provided, it will prompt interactively.
🧱 Tech Stack Node.js
Commander.js
@inquirer/prompts
fs/promises
child_process (for shell commands)
chalk
TypeScript (for template)
Express.js, dotenv, body-parser
💡 Future Improvements 🌐 Add GitHub repo creation and initial commit via GitHub API
🧪 Support for testing tools like Jest or Supertest
📚 Template for Full-Stack (MERN/MEVN) apps
📦 Add Dockerfile and Docker Compose options
🧩 Plugin system for middleware, DB integrations, etc.
🎨 Template customization via JSON config or UI
🤝 Contributing Pull requests are welcome. For major changes, open an issue first to discuss what you would like to change.
