# @ghost1411/backkit

> Customizable backend scaffolding CLI for generating production-ready Node.js APIs

Latest version **1.0.3** (published 2026-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ghost1411/backkit
pnpm add @ghost1411/backkit
yarn add @ghost1411/backkit
bun add @ghost1411/backkit
```

Provides the command `backkit`.

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2026-10-04 |
| First published | 2026-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 63.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Amaan Zaidi |
| Maintainers | ghost1411 |
| Keywords | backend, scaffolding, cli, nodejs, express, typescript, api, generator |

## Links

- npm: https://www.npmjs.com/package/@ghost1411/backkit
- npm.io page: https://npm.io/package/@ghost1411/backkit

## Dependencies (1)

- [@inquirer/prompts](https://npm.io/package/@inquirer/prompts.md) ^8.7.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2026-10-04
- 1.0.2 — 2026-09-29
- 1.0.1 — 2026-09-28
- 1.0.0 — 2026-09-28

## README

# Backkit

Backkit is an interactive CLI for scaffolding customizable Node.js backends.

Choose the language, framework, architecture, database, ORM/ODM, and authentication setup for each project.

## Features

- TypeScript or JavaScript
- Express
- Modular or Layered architecture
- PostgreSQL with Drizzle or Prisma
- MongoDB with Mongoose
- Optional JWT authentication
- Environment configuration
- Error handling middleware
- Response helpers
- Customizable project generation

## Quick Start

Run Backkit directly with `npx`:

```bash
npx @ghost1411/backkit
```

Follow the interactive prompts to configure your backend.

Once the project is generated:

```bash
cd <project-name>
npm install
npm run dev
```

The generated Express server runs on:

```text
http://localhost:5000
```

by default.

## Configuration Options

| Option | Choices |
| --- | --- |
| Language | TypeScript, JavaScript |
| Framework | Express |
| Architecture | Modular, Layered |
| Database | PostgreSQL, MongoDB |
| ORM / ODM | Drizzle, Prisma, Mongoose |
| Authentication | JWT, None |

### Database Integrations

Backkit automatically selects the appropriate database integration based on your choices:

- **PostgreSQL**
  - Drizzle
  - Prisma
- **MongoDB**
  - Mongoose

## Generated Project

Backkit generates a ready-to-use Express backend based on your selected configuration.

Depending on your choices, the generated project can include:

- Application and server entry points
- Environment configuration
- Database configuration
- ORM/ODM setup
- Shared error middleware
- Response helpers
- Modular or layered architecture
- JWT authentication
- Authentication middleware
- Authentication routes and services

The exact project structure depends on the options selected during initialization.

## Example

Running:

```bash
npx @ghost1411/backkit
```

opens an interactive configuration flow:

```text
Project name
> my-api

Language
> TypeScript

Framework
> Express

Architecture
> Modular

Database
> PostgreSQL

ORM
> Drizzle

Authentication
> JWT
```

Backkit then generates the corresponding backend structure.

## Development

Clone the repository:

```bash
git clone https://github.com/amaan1114/backkit.git
cd backkit
```

Install dependencies:

```bash
npm install
```

Run the CLI directly from source:

```bash
npm run dev
```

Build the CLI:

```bash
npm run build
```

Run the compiled CLI:

```bash
npm start
```

## Project Structure

```text
backkit/
├── src/
│   ├── cli.ts
│   ├── commands/
│   ├── generators/
│   ├── prompts/
│   ├── templates/
│   └── utils/
├── package.json
├── tsconfig.json
└── README.md
```

## Why Backkit?

Most backend scaffolders generate a fixed project structure.

Backkit focuses on **customizable backend generation**.

Instead of starting with a predetermined boilerplate, you choose the technologies and architecture you want, and Backkit generates the corresponding project for you.

```text
Your choices
     ↓
  Backkit
     ↓
Customized backend
```

## Roadmap

Planned improvements include:

- More frameworks
- More database integrations
- Additional authentication providers
- Redis support
- API documentation generation
- Docker configuration
- More architecture patterns
- Additional backend components
- `backkit add` commands for adding components to existing projects

## License

MIT

---
_Source: https://npm.io/package/@ghost1411/backkit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
