Quickstart

This guide takes you from zero to a deployed bext application in under 5 minutes.

Create a new project

bunx bext init my-app
cd my-app

This scaffolds a new project with:

  • bext.config.toml — configuration
  • src/pages/index.tsx — your first page
  • package.json — dependencies

Start the dev server

bext dev

Open http://localhost:3000 — you should see the welcome page.

Edit your page

Open src/pages/index.tsx and make a change. bext supports hot module replacement — your changes appear instantly.

Build for production

bext build

Deploy

Self-hosted

bext start

bext Cloud

bext deploy

That's it! Your app is live. Next, learn about routing and caching.