Skip to content

Repository files navigation

back-kit

A modern CLI tool for scaffolding end-to-end projects with best practices and customizable configurations ye copy hai think about new description


Architecture

  • You can review the high-level architecture for this project here: Architecture document (kindly comment your suggestions or request editor access.)

Getting Started

Prerequisites

  • Node.js ≥ v18
  • npm ≥ v7
  • (Optional) Yarn or pnpm

Install Dependencies

# from the root of back-kit
npm install

Development

Start all packages in watch/dev mode via Turbo:

npm run dev

Run the CLI directly (with ts-node):

# from the root
npm run dev -- hello <name>
# e.g.
npm run dev -- hello Amrit

Build

Compile all packages in the correct order:

npm run build

Lint & Type-Check

npm run lint       # ESLint across workspaces
npm run check-types # TypeScript checks
npm run format     # Prettier formatting

Running the Compiled CLI

# build first (if not already done)
npm run build
node packages/cli/dist/index.js hello YourName

Or install/link globally:

cd packages/cli
npm link
my-cli hello YourName

Repo Structure

/back-kit
├─ packages/
│  ├─ cli/                # CLI tool (yargs + ts-node + build)
│  ├─ eslint-config/      # Shared ESLint configs (base, Next.js, React)
│  ├─ typescript-config/  # Shared tsconfig presets
│  └─ ui/                 # React component library (button, card, code)
│     └─ turbo/           # Custom code generators (Handlebars templates)
├─ apps/                  # (future) application examples
├─ turbo.json             # Task orchestration
└─ README.md

Contributing

  1. Fork the repo & clone
  2. Create a feature branch
  3. Run tests/linting before pushing
  4. Open a PR and tag @maintainers

License

MIT

About

complete kit you need to get started for your project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages