Skip to content

zenstackhq/sample-todo-redwood

Repository files navigation

Multi-Tenant Todo Sample - ZenStack + RedwoodJS

This project is a SaaS-like Todo app built with RedwoodJS and ZenStack.

In this fictitious app, users can be invited to workspaces where they can collaborate on todos.

See a live deployment at: https://zenstack-todo-redwood.vercel.app

Features

  • User signup/signin
  • Creating workspaces and inviting members
  • Managing Todo lists and items
  • Data segregation and permission control

Authorization rules

  1. A space can have many members, and a user can belong to many spaces.
  2. User profiles are readable to all users in the same space, and editable by oneself.
  3. Space admins can invite members to the space, remove members from the space, and set member roles.
  4. Public todo lists (together todo items inside) are accessible to all members in the space.
  5. Private todo lists (together todo items inside) are only accessible to the owner of the list.

See the schema.zmodel for more details.


For more information on using ZenStack, visit https://zenstack.dev.