Skip to content

Commit 09963e4

Browse files
fix: doc loop (#61)
1 parent 893cb2f commit 09963e4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

installation/app-backend-setup/writing-client-changes.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ title: "Writing Client Changes"
33
description: "Your app backend needs to expose an API endpoint to write changes to your backend database that are received from the PowerSync client."
44
---
55

6+
<Info>
7+
The backend receives the changes from your `uploadData` function in the `PowerSyncBackendConnector` on the client.
8+
</Info>
9+
610
This could be:
711

812
1. A single endpoint accepting a batch of changes from the client, with minimal client-side processing.
913
2. Separate endpoints based on the types of changes.
1014
3. A combination of the above.
1115

12-
For details of the client-side interface to your backend, see [Integrating With Your Backend](/installation/client-side-setup/integrating-with-your-backend).
13-
1416
<Warning>
1517
It's important that your endpoint be blocking/synchronous with underlying Postgres or MongoDB writes.
1618

@@ -63,3 +65,11 @@ For details on handling write conflicts, see:
6365
horizontal
6466
/>
6567
</CardGroup>
68+
69+
### Example implementations
70+
71+
We have some example backend implementations that you can use as a guide for your implementation:
72+
73+
#### <Icon icon="js" iconType="solid" size="24"/> [NodeJS](https://github.com/powersync-ja/powersync-nodejs-backend-todolist-demo)
74+
75+
#### <Icon icon="python" iconType="solid" size="24"/> [Django](https://github.com/powersync-ja/powersync-django-backend-todolist-demo)

0 commit comments

Comments
 (0)