Skip to content
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

[Feature] Demos #17

Merged
merged 4 commits into from
Jul 3, 2024
Merged

[Feature] Demos #17

merged 4 commits into from
Jul 3, 2024

Conversation

stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Jul 2, 2024

Overview

This PR adds a Django demo alongside the current NodeJS demo. Both demos are Docker compose projects which share common service defintions.

Readme files have been updated with instructions.

Docker compose health checks have been added to speedup the Mongo replica set initialization and guard Django Postgres migrations. In some cases the PowerSync instance would crash if MongoDB timed out (when doing migrations), health checks now also sequence the starting of PowerSync to avoid this.

Testing

Verified NodeJS demo functions correctly:

nodejs_demo.mov

Tested Django demo using React Native Django demo: powersync-ja/powersync-js#217

Todos

  • Update Django demo after merging changes

@stevensJourney stevensJourney marked this pull request as ready for review July 3, 2024 11:39
rkistner
rkistner previously approved these changes Jul 3, 2024
demos/django/docker-compose.yaml Outdated Show resolved Hide resolved
@stevensJourney stevensJourney merged commit 36763dc into main Jul 3, 2024
@stevensJourney stevensJourney deleted the feature/django-backend branch July 3, 2024 17:26
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