docs/getting-started/quick-start.md
::: tip TL;DR
git clone -o seed -b main --single-branch \
https://github.com/kriasoft/react-starter-kit.git my-app
cd my-app && bun install && bun dev
:::
::: info Node.js Optional This project runs entirely on Bun. You don't need Node.js unless you're integrating with Node-specific tools. :::
git clone https://github.com/YOUR_USERNAME/YOUR_PROJECT.git
cd YOUR_PROJECT
bun install
::: tip This creates a clean repository without the template's commit history. :::
Clone with a custom remote name so you can pull template updates later:
git clone -o seed -b main --single-branch \
https://github.com/kriasoft/react-starter-kit.git my-app
cd my-app
bun install
Add your own repository as origin:
git remote add origin https://github.com/YOUR_USERNAME/YOUR_PROJECT.git
git push -u origin main
To pull template updates later:
git fetch seed
git merge seed/main
::: warning Review template updates carefully before merging – schema or config changes may need manual resolution. :::
bun dev
This starts three services concurrently:
| Service | URL | Description |
|---|---|---|
| App | http://localhost:5173 | React SPA with hot reload |
| API | http://localhost:8787 | Hono + tRPC server |
| Web | http://localhost:4321 | Astro marketing site |
You can also start services individually:
bun app:dev # React app only
bun api:dev # API server only
bun web:dev # Marketing site only
bun email:dev # Email template preview at http://localhost:3001
http://localhost:5173 – your React app with TanStack Routerhttp://localhost:8787 – tRPC endpointsbun db:studio to open Drizzle Studiobun email:dev for template preview at http://localhost:3001apps/app/index.htmlapps/app/routes/(app)/index.tsxapps/api/routers/db/schema/bun dev # Start all services concurrently
bun test # Run tests (Vitest, single run)
bun lint # ESLint with cache
bun typecheck # TypeScript type checking (tsc --build)
bun build # Production build: email → web → api → app
::: info
After modifying tRPC routes, types update automatically – no manual sync needed. After editing db/schema/, run bun db:generate then bun db:push to apply changes.
:::