Skip to content
jyotishankar04Public

About

StartXKit is a CLI toolkit for generating TypeScript and JavaScript backend boilerplates for Express, Fastify, and Hono.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

StartXKit

StartXKit is a CLI toolkit for generating TypeScript and JavaScript backend boilerplates for Express, Fastify, and Hono.

MVP Scope

StartXKit creates simple runnable backend projects and adds modules with routes, controllers, services, repositories, simple request/response handlers, project config, and generated documentation.

Usage

Create a project:

npm create @startxkit@latest

Add a module inside a generated project:

npx @startxkit/cli add module users

Check a project:

npx @startxkit/cli doctor

Print project info:

npx @startxkit/cli info

Supported

  • 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

Not Supported Yet

  • Auth
  • Database
  • ORM
  • Prisma
  • Drizzle
  • Mongoose
  • OAuth
  • JWT
  • Session management
  • NestJS

Development

Install dependencies:

pnpm install

Build all packages:

pnpm build

Run tests:

pnpm test

Roadmap

  • Auth generators
  • Database and ORM adapters
  • NestJS support
  • More validation options
  • Richer generated test suites

About

StartXKit is a CLI toolkit for generating TypeScript and JavaScript backend boilerplates for Express, Fastify, and Hono.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages