express-app-maker
v1.0.2
Published
CLI tool to create Node Express MongoDB project
Maintainers
Readme
🚀 express-app-maker
A simple CLI tool to quickly create a Node.js + Express + MongoDB project with a clean folder structure.
It automatically generates a backend starter project with essential configuration so you can start building APIs immediately.
✨ Features
- ⚡ Create Node.js + Express project instantly
- 📁 Pre-configured folder structure
- 🗄 MongoDB connection setup using Mongoose
- 🌱 Environment variables support with dotenv
- 🔁 Ready-to-use development scripts
- 📦 Automatically installs dependencies
📦 Installation
You can run it directly using npx (recommended):
npx express-app-makerOr install globally:
npm install -g express-app-makerThen run:
express-app-maker🛠 Usage
Run the command:
npx express-app-makerYou will be prompted to enter a project name:
📦 PROJECT INITIALIZER
? What is your project name?After that the CLI will automatically:
- Create the project folder
- Generate required files
- Setup folder structure
- Install dependencies
📁 Generated Project Structure
myProject
│
├── server.js
├── package.json
├── .env
├── .gitignore
├── README.md
│
└── src
├── config
│ └── db.js
│
├── controllers
│
├── models
│
├── routes
│
├── middleware
│
└── utils▶ Running the Project
Go inside your project folder:
cd myProjectStart development server:
npm run devProduction mode:
npm start⚙ Environment Variables
Example .env file:
NODE_ENV=dev
PORT=5000
MONGO_URI=mongodb://localhost:27017/mydb📌 Requirements
- Node.js 18+
- npm
🤝 Contributing
Contributions are welcome. Feel free to open issues or submit pull requests.
📜 License
MIT
Made with by Satyam Sharma
🔗 GitHub
⭐ Star the repository if you find it useful!
https://github.com/sharmasatyam121104-devloper/express-app-maker
