A Catalog of Sample Projects
The ZenStack team maintains the following two main 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.
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​
- Next.js 13 + NextAuth + SWR
- Next.js 13 + NextAuth + TanStack Query
- Next.js 13 + NextAuth + tRPC
- Nuxt V3 + TanStack Query
- SvelteKit + TanStack Query
- RedwoodJS