Documentation Index
Fetch the complete documentation index at: https://docs.bunship.com/llms.txt
Use this file to discover all available pages before exploring further.
Getting Started
This guide walks you through getting BunShip Pro running on your machine.Prerequisites
The API runs on Bun natively. The frontend dev server uses Node via Vite/TanStack Start for
SSR and hot module replacement. In production builds, the output can be served by Bun.
Redis is optional — only needed for background jobs (email sending, webhook delivery).
1. Clone and Install
2. Configure Environment
.env and set these required values:
| Variable | What to Set |
|---|---|
JWT_SECRET | Any random string, 32+ characters |
JWT_REFRESH_SECRET | A different random string, 32+ characters |
ENCRYPTION_SECRET | A third random string, 32+ characters (for 2FA encryption) |
TURSO_DATABASE_URL | file:./local.db (already set — uses local SQLite) |
3. Set Up the Database
4. Start Development
| Service | URL |
|---|---|
| Frontend | http://localhost:3001 |
| API | http://localhost:3000 |
| API Docs | http://localhost:3000/docs |
5. Log In
Open http://localhost:3001 and sign in with the demo account:What You’re Looking At
BunShip Pro has three areas:- Marketing site — The landing page, pricing, blog, and other public pages at the root URL
- Auth pages — Login, register, forgot password, etc. at
/login,/register - Dashboard — The authenticated app at
/dashboard,/organizations,/settings,/admin
Common Tasks
| Task | Command |
|---|---|
| Reset the database | bun run db:reset |
| Open Drizzle Studio (DB GUI) | bun run db:studio |
| Run API tests | cd apps/api && bun run test |
| Type-check everything | bun run typecheck |
| Build everything | bun run build |
| Lint everything | bun run lint |
| Format code | bun run format |
Next Steps
- Pre-Built Pages — See what every page looks like and does
- Theming & Branding — Change the brand color, fonts, and logos
- Configuration — All environment variables and feature flags

