Skip to main content
Version: 2.x

A Catalog of Sample Projects

The ZenStack team maintains the following three series of sample projects.

  • Schema Samples

    A set of ZModel schemas demonstrating how to model different types of authorization patterns.

  • Multi-Tenant Todo App

    This series demonstrates a complete implementation of a multi-tenant, SaaS-like application with a relatively complex authorization model. It is also the sample we used throughout The Complete Guide.

  • Simple Blog App

    This series is for those who want to quickly understand the structure of a project using ZenStack, without the burden of comprehending a complex application. These samples are used in the Quick Start guides.

We also actively collect and share community-contributed samples.

Schema Samples

The sample repo includes the following patterns:

  • ACL
  • RBAC
  • ABAC
  • Multi-Tenancy

You can use this blog post as an introduction.

Multi-Tenant Todo Samples

Blog Samples

Community Samples

  • Monorepo Todo App by ErikDakoda

    • PNPM workspace
    • Turborepo
    • Next.js + NextAuth
  • Warehouse Management System by Eliav2

    • Decoupled frontend and backend with monorepo
    • Backend: ZenStack + Express + GitHub SSO
    • Frontend: React + TanStack-Query + TanStack-Router + MUI5 + Vite
  • Cloudflare Pages + Worker by Kiran

    • Decoupled frontend and backend on Cloudflare
    • Hono for backend (Cloudflare Worker)
    • React SPA for frontend (Cloudflare Pages)
    • This repo is also a cool demo of the ZenStack UI package made by Kiran.
  • Multiboard by olliethedev

    • Minimal Kanban task mangement platform
    • Authentication with Better Auth
    • Login + Logout + Account UI with Better Auth UI
    • Multi-tenant organizations
    • Next.js + shadcn/ui
    • Emails with Resend
    • Forms with AutoForm
    • Api Docs with Scalar
Comments
Feel free to ask questions, give feedback, or report issues.

Don't Spam


You can edit/delete your comments by going directly to the discussion, clicking on the 'comments' link below