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
Copy file name to clipboardExpand all lines: demos/example-node/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,13 @@ Results from the query are printed every time it changes. Try:
15
15
1. Updating a row in the backend database and see changes reflected in the running client.
16
16
2. Enter `add('my list')` and see the new list show up in the backend database.
17
17
18
+
## Encryption
19
+
20
+
This demo can use encrypted databases with the `better-sqlite3-multiple-ciphers` package.
21
+
To test encryption, set the `ENCRYPTION_KEY` in `.env` to a non-empty value.
22
+
23
+
## References
24
+
18
25
For more details, see the documentation for [the PowerSync node package](https://docs.powersync.com/client-sdk-references/node) and check other examples:
19
26
20
27
-[example-electron-node](../example-electron-node/): An Electron example that runs PowerSync in the main process using the Node.js SDK.
0 commit comments