An interactive command-line tool that scaffolds TypeScript Express REST API projects. You pick templates, databases, linters, test runners, and optional Docker setup in a guided flow.
Overview
TypeScript Express Starter is a command-line generator for TypeScript-based Express REST APIs. It walks you through choices such as database integration, ORM style, linting, testing, and container tooling, then emits a configured project with dependencies, scripts, and matching config files.
You can start from several active templates, including a basic Express setup with Zod validation, a Drizzle PostgreSQL stack, or express-cargo with decorator-based DTO validation. Generated apps can include authentication and user-management routes, hot reload via nodemon, and environment files seeded from examples with generated secrets where applicable.
The CLI supports quick presets or category-by-category tool selection across linters, bundlers or compilers, test frameworks, and optional Dockerfiles with Compose. Package manager choice among npm, pnpm, and yarn is supported, and you can extend the tool with custom templates and development tools.
Compared with hand-rolled setup, the project emphasizes standardized structure and compatible dependency resolution across many template and tooling combinations. Additional database and architecture templates are listed as planned but are not selectable in the published package while verification is pending.
Key features
- Interactive guided project configuration
- Multiple Express API templates
- Optional PostgreSQL with Drizzle template
- Mix-and-match linters and test runners
- Optional development and production Dockerfiles
- Package manager agnostic installs
- Auto-generated env and auth secret keys
- Custom templates and tool plugins
Use cases
- Bootstrapping new Express REST APIs
- Standardizing team TypeScript API stacks
- Prototyping APIs with auth examples
- Trying different lint and test tool pairs
- Projects that need optional Docker dev setup