You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various Tutorials section improvements, other minor polish (#76)
* Updates
* Consistent use of demo app and to-do list
* Cross reference use case examples and tutorials and demo apps everywhere
* Use case examples with accordions
* Update usage/use-case-examples/attachments-files.mdx
* Different heading
Copy file name to clipboardExpand all lines: client-sdk-references/swift.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The PowerSync Swift SDK currently makes use of the [PowerSync Kotlin Multiplatfo
26
26
<Tip>
27
27
**Demo App**
28
28
29
-
We recommend the [Supabase Todo List Demo](https://github.com/powersync-ja/powersync-swift/tree/main/Demo) app as a starting point for using the Swift SDK. See the README for details to run it.
29
+
We recommend the [Supabase To-Do List Demo](https://github.com/powersync-ja/powersync-swift/tree/main/Demo) app as a starting point for using the Swift SDK. See the README for details to run it.
30
30
</Tip>
31
31
32
32
### SDK Features
@@ -90,7 +90,7 @@ The beta version of this SDK introduces a Swift-native wrapper around the packag
90
90
*`@MainThread` usage is no longer required and should be removed.
91
91
* Implementing `SuspendTaskWrapper` for database transactions is no longer required and should be removed.
92
92
93
-
See the [Todo List Demo app](https://github.com/powersync-ja/powersync-swift/tree/main/Demo) as a reference.
93
+
See the [To-Do List Demo app](https://github.com/powersync-ja/powersync-swift/tree/main/Demo) as a reference.
Copy file name to clipboardExpand all lines: installation/app-backend-setup.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,4 +25,4 @@ See [Authentication Setup](/installation/authentication-setup) for details.
25
25
26
26
See our [Example Projects](/resources/demo-apps-example-projects#custom-backend-examples) page for examples of custom backend implementations (e.g. Django, Node.js, etc.)
27
27
28
-
For Postgres developers, using [Supabase](/integration-guides/supabase-+-powersync) is an easy alternative to a custom backend. Several of our example apps demonstrate how to use [Supabase](https://supabase.com/) as the Postgres backend.
28
+
For Postgres developers, using [Supabase](/integration-guides/supabase-+-powersync) is an easy alternative to a custom backend. Several of our demo apps demonstrate how to use [Supabase](https://supabase.com/) as the Postgres backend.
Copy file name to clipboardExpand all lines: installation/quickstart-guide.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Support for additional platforms is on our [Roadmap](https://roadmap.powersync.c
10
10
</Note>
11
11
12
12
### <Iconicon="elephant"iconType="solid"size="24"/> Postgres Developers: Using Supabase? Try Our Guide.
13
-
If you are using [Supabase](https://supabase.com/) as your backend, we provide a [PowerSync\<>Supabase integration guide](/integration-guides/supabase-+-powersync) which includes a tutorial and example app to quickly learn how to use PowerSync with Supabase.
13
+
If you are using [Supabase](https://supabase.com/) as your backend, we provide a [PowerSync\<>Supabase integration guide](/integration-guides/supabase-+-powersync) which includes a tutorial and demo app to quickly learn how to use PowerSync with Supabase.
Copy file name to clipboardExpand all lines: integration-guides/supabase-+-powersync/handling-attachments.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "Examples of syncing attachments between a client app and Supabase
5
5
6
6
## <Iconicon="react"iconType="solid"size="24"/> React Native Example
7
7
8
-
Our React Native [To-Do List example app](https://github.com/powersync-ja/powersync-js/tree/main/demos/react-native-supabase-todolist) showcases how to sync attachments (such as photos) using the [@powersync/attachments](https://www.npmjs.com/package/@powersync/attachments) library, the PowerSync Service, and Supabase.
8
+
Our React Native [To-Do List demo app](https://github.com/powersync-ja/powersync-js/tree/main/demos/react-native-supabase-todolist) showcases how to sync attachments (such as photos) using the [@powersync/attachments](https://www.npmjs.com/package/@powersync/attachments) library, the PowerSync Service, and Supabase.
9
9
10
10
In this example, we are syncing photos, however other media types, such as PDFs, are also supported.
11
11
@@ -17,7 +17,7 @@ The library and this example implementation can be used as a reference for imple
17
17
18
18
### Configure Storage in Supabase
19
19
20
-
In this example app, [Supabase Storage](https://supabase.com/docs/guides/storage) is used to store and serve attachments. To configure this for your app, navigate to the **Storage** section of your Supabase project and create a new bucket:
20
+
In this demo app, [Supabase Storage](https://supabase.com/docs/guides/storage) is used to store and serve attachments. To configure this for your app, navigate to the **Storage** section of your Supabase project and create a new bucket:
21
21
22
22
<Frame>
23
23
<imgsrc="/images/integration-9.png"/>
@@ -35,7 +35,7 @@ Next, link this storage bucket to your app by opening up the **AppConfig.ts** fi
35
35
<imgsrc="/images/integration-11.png"/>
36
36
</Frame>
37
37
38
-
Lastly, configure a policy for this bucket. In this example app, we will allow all user operations on the media bucket.
38
+
Lastly, configure a policy for this bucket. In this demo app, we will allow all user operations on the media bucket.
39
39
40
40
Create a new policy for the **media** bucket:
41
41
@@ -54,7 +54,7 @@ Give the new policy a name, and allow SELECT, INSERT, UPDATE, and DELETE.
54
54
</Frame>
55
55
Proceed to review and save the policy.
56
56
57
-
This concludes the necessary configuration for handling attachments in the To-Do List example app. When running the app now, a photo can be taken for a to-do list item, and PowerSync will ensure that the photo syncs to Supabase and other devices (if sync rules allow).
57
+
This concludes the necessary configuration for handling attachments in the To-Do List demo app. When running the app now, a photo can be taken for a to-do list item, and PowerSync will ensure that the photo syncs to Supabase and other devices (if sync rules allow).
@@ -75,7 +75,7 @@ The [@powersync/attachments](https://www.npmjs.com/package/@powersync/attachment
75
75
* Watch for changes and handle CRUD operations on `AttachmentRecord`s.
76
76
* Store attachment data on the user's local storage, using file URIs on the device.
77
77
78
-
The UI of the example app supports taking photos as follows:
78
+
The UI of the demo app supports taking photos as follows:
79
79
80
80
*[CameraWidget](https://github.com/powersync-ja/powersync-js/blob/main/demos/react-native-supabase-todolist/library/widgets/CameraWidget.tsx) uses `expo-camera` to allow users to capture a photo.
81
81
* The photo is stored on the user's local storage.
@@ -107,7 +107,7 @@ The following improvements can be considered for this implementation.
107
107
108
108
## <Iconicon="flutter"iconType="solid"size="24"/> Flutter Example
109
109
110
-
Our Flutter [To-Do List example app](https://github.com/powersync-ja/powersync.dart/tree/master/demos/supabase-todolist) showcases how to sync attachments (such as photos) using our [powersync\_attachments\_helper](https://pub.dev/packages/powersync_attachments_helper) package for Flutter.
110
+
Our Flutter [To-Do List demo app](https://github.com/powersync-ja/powersync.dart/tree/master/demos/supabase-todolist) showcases how to sync attachments (such as photos) using our [powersync\_attachments\_helper](https://pub.dev/packages/powersync_attachments_helper) package for Flutter.
Copy file name to clipboardExpand all lines: migration-guides/mongodb-atlas.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: "MongoDB Atlas Migration Guide"
3
-
description: "This page was last updated on 2024-10-16"
3
+
description: "This page was last updated on 2024-12-27"
4
4
---
5
5
6
6
## MongoDB Atlas deprecation
@@ -48,6 +48,8 @@ As you can see, this is not a point-and-click migration, however it does enable
48
48
49
49
### Migration steps
50
50
51
+
<Tip>The blog post [Migrating a MongoDB Atlas Device Sync App to PowerSync](https://www.powersync.com/blog/migrating-a-mongodb-atlas-device-sync-app-to-powersync) can serve as a handy guide through the migration process.</Tip>
52
+
51
53
1. Connect your database to an instance of the PowerSync Service:
52
54
1. Using PowerSync Cloud (hosted by us): See [Database Connection](/installation/database-connection#mongodb-alpha-specifics)
53
55
2. Using PowerSync Open Edition (self-hosted): Refer to our end-to-end demo app [available here](https://github.com/powersync-ja/self-host-demo/tree/main/demos/nodejs-mongodb)
0 commit comments