Samples

zbugs

A complete Linear-style bug tracker. Not just a demo app – this is our actual live bug tracker, that we use and depend on everyday.

zbugs

Demo: https://bugs.rocicorp.dev/
Stack: Vite/Fastify/React/AWS
Source: https://github.com/rocicorp/mono/tree/main/apps/zbugs
Features: Instant reads and writes, realtime updates, Github auth, write permissions, read permissions, custom mutators, complex filters, unread indicators, basic text search, emojis, short numeric bug IDs, notifications, and more.

ztunes

An ecommerce store built with Zero, TanStack, Drizzle, and PlanetScale for Postgres.

ztunes

Demo: https://ztunes.rocicorp.dev/
Stack: TanStack/Drizzle/Better Auth/Fly.io
Source: https://github.com/rocicorp/ztunes
Features: 88k artists, 200k albums, single-command dev, full drizzle integration, text search, read permissions, write permissions.

zslack

Simple Slack-like app built with Expo/React Native.

Hello Expo!

Stack: Expo/Hono/Drizzle
Source: https://github.com/rocicorp/zslack
Features: Native iOS/Android, instant reads and writes, realtime updates, custom mutators, custom queries.

hello-zero-solid

Simple quickstart for Zero/SolidJS.

Hello Solid!

Stack: Vite/Hono/SolidJS
Source: https://github.com/rocicorp/hello-zero-solid
Features: Instant reads and writes, realtime updates, custom mutators.

hello-zero-cf

Shows how to use the Zero in a Cloudflare Worker environment.

This sample runs Zero in a React/Hono app, within the Cloudflare worker environment. It uses Hono to implement authentication and Zero's API endpoints.

It also runs zero-client within a Durable Object and monitors changes to a Zero query. This can be used to do things like send notifications, update external services, etc.

Stack: pnpm/Vite/Hono/React/Cloudflare Workers
Source: https://github.com/rocicorp/hello-zero-cf

hello-zero

Old quickstart for Zero/React using legacy query/mutation/permissions APIs.

This sample is maintained for testing old APIs we still support. You should not use it as a basis for new projects. Use ztunes, zslack, hello-zero-solid, or hello-zero-cf instead.

Hello Zero!

Stack: Vite/Hono/React
Source: https://github.com/rocicorp/hello-zero
Docs: Quickstart
Features: Instant reads and writes, realtime updates.