This project is a collaborative Todo app built with SvelteKit 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.
https://sample-todo-sveltekit.vercel.app/
- User signup/signin
- Creating workspaces and inviting members
- Data segregation and permission control
-
Setup a new database
It use PostgreSQL by default, if you want to use MySQL, simply change the db datasource provider to
mysql
inschema.zmodel
file.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.
-
Install dependencies
npm install
-
Generate server and client-side code from model
npm run generate
-
Synchronize database schema
npm run db:push
-
Start dev server
npm run dev
If you encounter any issue or have any feedback, please create a new issue in our main repository so we could respond to it promptly: