Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebsto/amplify-datastore-swift
This is a sample Swift application to demonstrate Amplify datastore swift library. Offline first, real time data synchronization
https://github.com/sebsto/amplify-datastore-swift
Last synced: 6 days ago
JSON representation
This is a sample Swift application to demonstrate Amplify datastore swift library. Offline first, real time data synchronization
- Host: GitHub
- URL: https://github.com/sebsto/amplify-datastore-swift
- Owner: sebsto
- License: apache-2.0
- Created: 2022-11-15T18:32:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T23:59:57.000Z (over 1 year ago)
- Last Synced: 2023-05-19T00:10:15.667Z (over 1 year ago)
- Language: Swift
- Size: 653 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This is a demo project for [Amplify DataStore](https://github.com/aws-amplify) for Swift.
## Preriquisites
- Xcode 14.1 or more recent
- iOS 16 or more recent
- macOS 13 or more recent
- Amplify CLI (https://docs.amplify.aws/cli/start/install/)## Deploy on your AWS account
TBD
## Demo Scenario
- start a macOS application
- start an iOS application### Real time updates
- On one of the two apps, use the (+) sign to create a podcast episode. Notice the other app receives the update
- On one of the two apps, swipe to delete the new episode. Notice the other app receives the update### Offline
- Turn off the network on one of the two apps.
- On the other app, add one or two episodes
- Turn on the network on the first app. Observe it will resync automatically (might wait ~1 minute)