@boomscaf/cli v1.1.2
โก BOOM!Scaffold โ Fullstack in Seconds
BOOM!Scaffold is a schema-first scaffolding engine that turns your data model into a fully-typed, production-grade TypeScript stack in seconds โ backend, frontend, and infra.
Ideal for solo founders, internal tools, MVPs, and anyone who wants to skip the boilerplate and ship faster.
๐ฏ Playground
https://www.boomscaffold.com/playground/
๐ What It Does
From a single config file + your schema, BOOM!Scaffold generates:
- A full API โ either GraphQL or REST (Express)
- A backend powered by either Knex or Sequelize
- A modern frontend (hooks, UI config, Tailwind)
- End-to-end typing + data services
- Optional admin panel, CI/CD, infra (AWS/CDK)
All in under 60 seconds.
๐งช Quickstart
Install (coming soon via npm):
npm i @boomscaf/cliOr, if youโre cloning locally:
git clone https://github.com/calebswank11/boom-cli-core.git
cd boom-cli-core
yarn && yarn devRun the Scaffold (CLI):
Ensure you have a SQL schema in ./sqlInput/ and a scaffold.config.json at the root.
Then generate your fullstack scaffold:
boom initYouโll see:
___ ___ __
/ _ ) / // __)
/ _ < /_/\__\
/____/(_)(___/
BOOM!ScaffoldExample Input
SQL Schema: ./sqlInput/example.sql
CREATE TABLE user (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
email VARCHAR(255) UNIQUE NOT NULL,
password TEXT NOT NULL,
role ENUM('admin', 'user') DEFAULT 'user'
);Scaffold Config: scaffold.config.json
{
"project": "my-app",
"inputRoot": "./sqlInput",
"orm": "knex", // or "sequelize"
"apiType": "graphql", // or "express"
"library": "apollo-server",
"database": {
"client": "pg",
"connection": "..."
},
"outputs": {
"api": true,
"frontend": true,
"adminPortal": false
},
"frontEnd": {
"framework": "react",
"ui": "tailwind"
},
"deployment": {
"ci": "github-actions",
"infra": "aws-cdk"
}
}๐ฆ Output Structure
Your scaffold adapts to your stack. Whether you choose Knex + GraphQL, Sequelize + REST, or any combo, you'll get a clean, structured project:
Backend:
build/
โโโ enums/ # Auto-generated enums
โโโ migrations/ # Migration files (Knex or Sequelize)
โโโ seeds/ # Seed data
โโโ src/
โ โโโ @types/ # Global TS types
โ โโโ config/ # DB/API config
โ โโโ database/ # Connection logic
โ โโโ dataServices/# CRUD helpers (Knex or Sequelize)
โ โโโ ?resolvers/ # GraphQL resolvers (if selected)
โ โโโ ?controllers/# REST controllers (if selected)
โ โโโ ?models/ # REST models (if selected)
โ โโโ ?routes/ # Express routes (if selected)
โ โโโ ?typedefs/ # GraphQL typeDefs
โ โโโ utils/ # Misc helpers
โโโ app/ # Optional frontend
โโโ cicd/ # GitHub Actions
โโโ cloudOps/ # AWS/CDK infra
โโโ index.ts # CLI entryFrontend (if enabled):
app/
โโโ api/ # Query/mutation clients or REST calls
โโโ config/ui/ # Tailwind UI config
โโโ hooks/ # Auto-generated React/Solid/Svelte/Vue hooks
โโโ store/ # Global state
โโโ pages/ # Optional routing structureNext Up:
cd build && yarn && yarn devAdd your DB secrets, build business logic, and launch ๐ฅ
๐ง Features
- ๐ง Schema-based generation โ just define your DB schema
- ๐ Knex or Sequelize โ choose your preferred SQL ORM
- ๐ GraphQL or REST โ pick your API type, or scaffold both
- ๐งฌ Typed everything โ from services to typedefs
- ๐จ Tailwind UI + hooks โ generated from your schema
๐ Developer Workflow
- Create your schema (SQL or DSL)
- Configure
scaffold.config.json Run the CLI:
npx @boomscaf/cli@ initUpdate config as needed
Re-run the scaffold:
npx @boomscaf/cli generateBuild on top. Done.
๐ Use Cases
- ๐งโ๐ป Solo devs building MVPs
- ๐ข Internal tooling
- ๐งฌ Data-first product backends
- ๐ Marketplaces
- โ๏ธ Reusable scaffolds across teams
๐ง Roadmap
| Feature | Purpose |
|---|---|
| ๐ Inline rescaffolding | Detect schema changes and update files non-destructively |
| ๐ JWT auth, rate limiting, versioning | Add production-ready security out of the box |
| ๐ง Ollama integration | Natural-language prompts to generate scaffold features |
| ๐งฑ Admin CRUD dashboards | Auto-generate admin panels tied to schema |
| ๐งฎ AI DB Designer | Visual schema builder with config export |
| ๐ป Toggleable test output | Optional test file scaffolding with Jest or other libs |
| โ๏ธ AWS CDK / Terraform / Pulumi | Scaffold infrastructure as code |
| ๐ CI/CD + Docker + GitHub Actions | Generate deployment and container setup |
| ๐ Auto-generated API docs | Create OpenAPI or GraphQL schema docs automatically |
| ๐งญ Frontend route generator | Automatically maps schema resources to frontend pages |
| ๐งฐ Design system starter | Tailwind-based base components, forms, layouts |
| ๐ซ Frontend animation presets | Smooth entry/exit transitions, especially for admin UIs |
| ๐ RBAC support | Add field- and route-level access rules from config |
| ๐ Modular plugin support | Eventually allow community plugin generation |
| โ๏ธ Schema linter + formatter | Validate/enforce schema structure before scaffolding |
๐ฌ Feedback
Weโre building fast. Hit something weird? Want a new feature? Drop us a note or submit feedback here.