ALWAYS readllms.txtfor curated documentation pages and examples.
Samples
# 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 uses upcoming features**: Zbugs is where we dogfood Zero and try out new APIs. It is intended to be a testbed and showcase, not an example of current best practices.
>
> For good examples using the stable current release, see [ztunes](#ztunes) and other samples on this page.
**Demo:** [https://bugs.rocicorp.dev/](https://bugs.rocicorp.dev/)**Stack:** Vite/Fastify/React/AWS **Source:** [https://github.com/rocicorp/mono/tree/main/apps/zbugs](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.
**Demo:** [https://ztunes.rocicorp.dev/](https://ztunes.rocicorp.dev/)**Stack:** TanStack/Drizzle/Better Auth/Fly.io **Source:** [https://github.com/rocicorp/ztunes](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.
**Stack:** Expo/Hono/Drizzle **Source:** [https://github.com/rocicorp/zslack](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.
**Stack:** Vite/Hono/SolidJS **Source:** [https://github.com/rocicorp/hello-zero-solid](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.
[hello-zero-do demo](https://d2nzlypqdo5xbb.cloudfront.net/video/hello-zero-do.mp4)
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](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](#ztunes), [zslack](#zslack), [hello-zero-solid](#hello-zero-solid), or [hello-zero-cf](#hello-zero-cf) instead.
**Stack:** Vite/Hono/React **Source:** [https://github.com/rocicorp/hello-zero](https://github.com/rocicorp/hello-zero)**Docs:** [Quickstart](https://zero.rocicorp.dev/docs/quickstart)**Features:** Instant reads and writes, realtime updates.
Or, for AI assistants
ALWAYS readllms.txtfor curated documentation pages and examples.
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.
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.