Introduction

What is create-express-modular?

A CLI that scaffolds modular, production-ready Express + TypeScript backends with batteries included — your choice of ORM, validator, JWT auth, and Docker, all wired up correctly.

create-express-modular (CLI alias cem) is a scaffolder and project manager for Node.js backends. It generates a domain-driven, modular Express + TypeScript codebase that follows a strict architecture — and ships with commands to keep that architecture intact as your app grows.

What you get

Interactive scaffold

Pick Mongoose / Prisma / Drizzle, Zod / Joi, JWT auth and Docker via a wizard.

Modular structure

Auto-wired modules with controller, service, model, validation, route, interface.

Build-time guards

Architecture & middleware naming guards prevent drift before tsc even runs.

Productive CLI

dev / build / check / list / add / remove — everything you reach for daily.

How to read these docs

If you're new, jump to Getting Started to scaffold your first project. Then explore the CLI commands one by one. When you're ready to see everything in action, follow the end-to-end Tutorial — we build a complete Task Manager API from scratch.