Skip to content

A powerful and customizable CLI tool to scaffold a production-ready Express.js backend with best practices. Includes support for logging with Winston, CORS, rate limiting, security headers (Helmet), Multer for file uploads, Prettier configuration, and socket integration—everything you need to bootstrap a modern backend project in seconds.

Notifications You must be signed in to change notification settings

sameer52718/create-express-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-express-pro

Scaffold a production-ready Express.js backend in seconds.

License Node

✨ Features

  • ✅ Express.js starter template
  • ✅ Modular folder structure
  • ✅ Middleware setup (Helmet, CORS, Compression, Morgan)
  • ✅ Logging with Winston (optionally with log files)
  • ✅ Rate limiter and Multer config (optional)
  • ✅ Prettier formatting
  • ✅ Socket.IO support
  • ✅ Environment-ready .env file
  • ✅ Interactive CLI powered by inquirer

📦 Installation

npm install -g create-express-pro

🚀 Usage

create-express-pro

The CLI will prompt you for:

  • Project name
  • Author name
  • Port number
  • JavaScript or TypeScript
  • Use of Winston log files
  • Package manager (npm, yarn, pnpm)

📁 Folder Structure

your-project/
├── controllers/
├── db/
├── logs/
├── middlewares/
├── models/
├── routes/
├── utils/
├── views/
├── uploads/
├── public/
├── app.js
├── .env
├── .gitignore
└── package.json

💠 Scripts

Each generated project comes with:

"scripts": {
  "dev": "nodemon app.js",
  "start": "node app.js",
  "format": "prettier --write ."
}

✉ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


👉 License

MIT

About

A powerful and customizable CLI tool to scaffold a production-ready Express.js backend with best practices. Includes support for logging with Winston, CORS, rate limiting, security headers (Helmet), Multer for file uploads, Prettier configuration, and socket integration—everything you need to bootstrap a modern backend project in seconds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published