Skip to content

[Demo] Optional Sync Supabase Todo App #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 25, 2024
Merged

[Demo] Optional Sync Supabase Todo App #309

merged 6 commits into from
Sep 25, 2024

Conversation

Chriztiaan
Copy link
Contributor

@Chriztiaan Chriztiaan commented Sep 17, 2024

This adds a demo project that aims to demonstrate how an app could be built starting from a local-only state and later being "upgraded" to a version that has sync capabilities. It started off as a copy of the existing todo app that was stripped of some of the features. It works off the existing react-supabase-todo demo and the optional-sync demo added to the Dart monorepo here.

The readme has a basic description of how everything works, with diagrams to show how the app switches from the local-only mode to sync mode.

Added tests to the web package to confirm that updateSchema works. A refresh schema implementation doesn't seem to be required based on looking at the tests and updating the schema in the demo.

Copy link

changeset-bot bot commented Sep 17, 2024

⚠️ No Changeset found

Latest commit: f5f16b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Chriztiaan Chriztiaan marked this pull request as ready for review September 18, 2024 08:39
stevensJourney
stevensJourney previously approved these changes Sep 25, 2024
# Conflicts:
#	pnpm-lock.yaml
@Chriztiaan Chriztiaan merged commit 9bff884 into main Sep 25, 2024
5 checks passed
@Chriztiaan Chriztiaan deleted the demo/optional-sync branch September 25, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants