create-blaze
v0.3.0
Published
Create a new blazestack project
Downloads
16
Maintainers
Readme
npx create-blaze my-appUsage
# With a name
npx create-blaze my-app
# Without a name — defaults to my-blazestack-app
# Auto-increments if the directory already exists
npx create-blazeWhat it does
- Downloads the latest blazestack template from GitHub
- Copies it to
./<project-name>/ - Renames all package references to match your project name
- Prints next steps
Next steps after scaffolding
cd my-app
bun install
cp apps/api/.dev.vars.example apps/api/.dev.vars
# Fill in DATABASE_URL, BETTER_AUTH_SECRET, BETTER_AUTH_URL
bun db:setup && bun db:generate && bun db:migrate
bun dev:api # API → http://localhost:8787
bun dev:web # Web → http://localhost:5173What's in the scaffold
my-app/
├── apps/
│ ├── api/ Hono — Better Auth + tRPC (Cloudflare Workers)
│ ├── web/ React Router v7 SSR (Cloudflare Workers)
│ └── mobile/ Expo SDK 55 — iOS + Android
└── packages/
├── auth/ Better Auth factory
├── db/ Drizzle ORM + PostgreSQL
├── env/ Zod-validated env vars
├── trpc/ Shared tRPC v11 router
└── ui/ Shared UI components (web + native)Stack
Full documentation
See the blazestack repo for full documentation.
