StartXKit is a CLI toolkit for generating TypeScript and JavaScript backend boilerplates for Express, Fastify, and Hono.
StartXKit creates simple runnable backend projects and adds modules with routes, controllers, services, repositories, simple request/response handlers, project config, and generated documentation.
Create a project:
npm create @startxkit@latestAdd a module inside a generated project:
npx @startxkit/cli add module usersCheck a project:
npx @startxkit/cli doctorPrint project info:
npx @startxkit/cli info- TypeScript
- JavaScript
- Express
- Fastify
- Hono
- Minimal architecture
- Modular architecture
- Layered architecture
- Optional CORS for Express
- Optional env config
- Optional Zod validation
- Optional console or Pino dependency selection
- Optional error handler for Express
- Optional dependency injection for generated modules
- Optional Docker files
- Simple generated modules
- Simple CRUD request/response handlers
- Auth
- Database
- ORM
- Prisma
- Drizzle
- Mongoose
- OAuth
- JWT
- Session management
- NestJS
Install dependencies:
pnpm installBuild all packages:
pnpm buildRun tests:
pnpm test- Auth generators
- Database and ORM adapters
- NestJS support
- More validation options
- Richer generated test suites