Skip to content

A complete Todo app sample built with ZenStack, tRPC, and Next.js

Notifications You must be signed in to change notification settings

zenstackhq/sample-todo-trpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f87894 · Apr 9, 2025
Mar 21, 2024
Mar 7, 2023
Jan 31, 2024
Sep 7, 2024
Dec 22, 2024
Dec 22, 2024
Jan 22, 2023
Dec 22, 2024
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Feb 17, 2024
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Dec 22, 2024
Apr 9, 2025
Apr 9, 2025
Jan 22, 2023
Dec 22, 2024
Dec 22, 2024
Dec 1, 2023

Repository files navigation

A Collaborative Todo Sample - ZenStack + tRPC + Next.js

This project is a collaborative todo app built with [tRPC](https://trpc.io], Next.js, Next-Auth, and ZenStack.

In this fictitious app, users can be invited to workspaces where they can collaborate on todos. Public todo lists are visible to all members in the workspace.

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

Features:

  • User signup/signin
  • Creating workspaces and inviting members
  • Data segregation and permission control

Running the sample:

  1. Setup a new PostgreSQL database

    You can launch a PostgreSQL instance locally, or create one from a hoster like Supabase. Create a new database for this app, and set the connection string in .env file.

  2. Install dependencies

    npm install
  3. Generate server and client-side code from model

    npm run generate
  4. Synchronize database schma

    npm run db:push
  5. Start dev server

    npm run dev

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

About

A complete Todo app sample built with ZenStack, tRPC, and Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages