create-express-gen
v1.0.3
Published
A simple, interactive CLI tool to **generate a production-ready Express.js boilerplate** with support for **JavaScript** or **TypeScript** and popular ORMs like **Mongoose**, **Prisma**, and **Sequelize**.
Maintainers
Readme
create-express-gen
A simple, interactive CLI tool to generate a production-ready Express.js boilerplate with support for JavaScript or TypeScript and popular ORMs like Mongoose, Prisma, and Sequelize.
Think of it as create-next-app — but for Express.
✨ Features
- 🚀 Instant setup for an Express.js project
- 🟦 Choose JavaScript (CommonJS) or TypeScript (ESM)
- 🛠️ Built-in project structure with:
controllers/(for app logic)routes/(API routes)lib/(DB connection & utilities).envpreconfigured
- 📦 ORM support:
- Mongoose (MongoDB)
- Prisma (Postgres, MySQL, SQLite, etc.)
- Sequelize (SQL databases)
- Or no ORM at all
- 🔧 Pre-installed dependencies:
express,dotenv,cors- ORM packages automatically added based on your choice
- 🛡️ Boilerplate with connectDB() handling & clean structure
📦 Installation
You don’t need to install globally. Just run it with npx:
npx create-express-gen myapp