create-bxn
v0.0.7
Published
Scaffolding tool for bxn projects.
Readme
create-bxn
Scaffolding tool for bxn projects.
Usage
npm create bxn@latest
# or
pnpm create bxn
# or
yarn create bxnThis will:
- Prompt for a project name
- Ask which package manager you prefer (pnpm/npm/yarn)
- Create a new directory with:
- Basic project structure (
src/routes/) - TypeScript configuration
- Example route handler
- README with instructions
- Basic project structure (
- Optionally install dependencies
- Show next steps
What Gets Created
my-project/
├── package.json # With @buildxn/http and bxn
├── tsconfig.json # TypeScript config
├── .gitignore
├── README.md # Project-specific readme
└── src/
└── routes/
└── get.ts # Example GET / routeAfter Creation
cd my-project
pnpm dev # Start dev server with hot reloadYour API will be running at http://localhost:3000
Development
pnpm build # Build the CLI