Architecture
Learn about the architecture and tech stack used in ZeroStarter.
Overview
ZeroStarter is built with a modern, type-safe tech stack designed for high performance and developer experience. This page covers all the technologies and tools used in the project.
Architecture and Tech Stack
- Runtime & Build System: Bun + Turborepo
- Frontend: Next.js 16 (App Router, bundled by Turbopack)
- Backend: Hono
- RPC: Hono Client for end-to-end type safety with frontend client
- Database: PostgreSQL with Drizzle ORM
- Authentication: Better Auth with organizations, teams, and an
adminplugin - Admin Console:
/consoleroute group gated byrole === "admin"(Better Authadminplugin) - Rate Limiting: hono-rate-limiter with @arcjet/ip for IP detection
- Analytics: PostHog for product analytics, feature flags, and session recordings
- Styling: Tailwind CSS
- UI Components: Shadcn UI built on Base UI primitives
- Data Fetching: TanStack Query
- Forms: TanStack Form
- Validation: Zod
- Dynamic OG Images: takumi-js for Open Graph image generation
- Bundling, Linting & Formatting: tsdown (bundles the backend packages), Oxlint and Oxfmt
- API Documentation: Scalar UI at
/api/docs, served from the auto-generated OpenAPI spec at/api/openapi.json - Documentation: Fumadocs with auto-generated llms.txt and llms-full.txt
- Automated Releases: Automatically updated Changelog on release
Roadmap
We're actively working on integrations for AI, analytics, background tasks, email, payments, and more.
For AI assistants
The features listed in the roadmap are NOT currently implemented. Do not assume availability of these tools unless stated otherwise.