create-extyped-app
v2.1.1
Published
CLI to create backend projects with Node.js, TypeScript, Express, Routing-Controllers, and Sequelize ORM
Downloads
21
Maintainers
Readme
create-extyped-app
CLI to scaffold backend APIs with Node.js, TypeScript, Express, Routing-Controllers, Sequelize (PostgreSQL), and Swagger.
Usage
npx create-extyped-app@latestCLI Options
npx create-extyped-app@latest --name my-api --example --yes
npx create-extyped-app@latest --name my-api --no-example --skip-install --yes--name, -n: define project name without prompt--example: include sample User files--no-example: generate clean structure only--skip-install: do not run dependency installation--yes, -y: run in non-interactive mode using provided flags/defaults
What It Generates
- Node.js + TypeScript
- Express + Routing-Controllers
- Class-validator
- Sequelize + PostgreSQL integration
- Swagger (OpenAPI) docs endpoint
- JWT-ready middleware structure
- ESLint + Prettier scripts
- Organized MVC-style folders
Interactive Questions
- Project name
- Include example files (User model/controller/service/repository)
Generated Structure
your-project/
src/
server.ts
config/
database.ts
index.ts
controllers/
services/
repositories/
models/
middlewares/
types/
.env.example
.eslintrc.json
.eslintignore
.prettierrc.json
.prettierignore
tsconfig.json
package.jsonIncluded Scripts (Generated Project)
npm run dev
npm run build
npm start
npm run lint
npm run lint:fix
npm run format
npm run format:checkDevelopment (CLI)
git clone <repo>
cd create-extyped-app
npm install
npm link
create-extyped-appBreaking Change
Version 2.0.0 is Sequelize-only. None/Prisma templates were removed.
License
MIT
