ts-express-generator-kit
v1.0.8
Published
Typescript express generator kit.
Readme
⚡ ts-express-generator-kit
A fast, modern, and developer-friendly Node.js CLI tool for creating typescript express boilerplate.
Built with performance and simplicity in mind.
🚀 Features
- ⚡ Fast execution (powered by modern tooling)
- 🧩 Simple & intuitive CLI commands
- 🛠 Works with JavaScript / TypeScript projects
- 📦 Zero or minimal configuration
- 🧪 Production-ready & extensible
📦 Installation
Global install (recommended)
npm install -g ts-express-kitor using npx:
npx ts-express-kit project-name
🧑💻 Usage
ts-express-kit project-name [options]Example
ts-express-kit --help
⚙️ Commands
Usage: ts-express-kit <project-name> [options]
Command Description
Create a Node.js TypeScript Express project
🔧 Options
--use-docker Include Docker setup
--eslint Include ESLint configuration
--prettier Include Prettier configuration
--db <type> Database setup (mongo | mysql | postgres)
-h, --help display help for command
📁 Project Structure
.
├─ envs
├─ scripts
│ ├─ common
│ │ └─ utils.ts
│ └─ build.ts
├─ src
│ ├─ common
│ │ ├─ constants
│ │ │ ├─ HTTP_STATUS_CODES.ts
│ │ │ ├─ PATHS.ts
│ │ │ └─ index.ts
│ │ └─ util
│ │ ├─ misc.ts
│ │ ├─ route-errors.ts
│ │ └─ validators.ts
│ ├─ config
│ │ └─ db.ts
│ ├─ controllers
│ │ └─ main.controller.ts
│ ├─ models
│ ├─ routes
│ │ └─ index.ts
│ ├─ index.ts
│ └─ server.ts
├─ config.ts
├─ eslint.config.ts
├─ package.json
├─ tsconfig.json
└─ yarn.lock Run porject
yarn dev
or
npm run devfor watch with nodemon
yarn dev:hot
or
npm run dev:hot
