Champagne

Introduction

A minimal Bun, GraphQL, React, and HeroUI starter.

Champagne provides one working example from the browser to the backend. There are no accounts, queues, or unrelated business features. One Person schema connects PostgreSQL to a HeroUI table through GraphQL.

What's included

  • Elysia and GraphQL Yoga on Bun, with one public people query.
  • Native Drizzle and Effect 4 PostgreSQL with autocommit by default.
  • React Query for GraphQL caching, cancellation, and refresh.
  • React Router and a HeroUI v3 table with loading, empty, error, and refresh states.
  • Caddy for static files, SPA routing fallback, and API proxying.
  • Generated GraphQL resolver and operation types.
  • Unit and component tests, linting, type checking, and production image checks.
  • This Fumadocs documentation site.

The frontend imports Tailwind and HeroUI styles only. There are no custom CSS rules, theme overrides, or inline styles.

On this page