Skip to content

Commit 55223cb

Browse files
authored
add all node examples (#149)
1 parent ae9655f commit 55223cb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

client-sdk-references/node.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ sidebarTitle: Overview
2323
Full API reference for the PowerSync SDK [\[External link\].](https://powersync-ja.github.io/powersync-js/node-sdk)
2424
</Card>
2525

26-
<Card title="Example Project" icon="code" href="https://github.com/powersync-ja/powersync-js/tree/main/demos/example-node">
27-
A small CLI app showcasing bidirectional sync.
26+
<Card title="Example Projects" icon="code" href="/resources/demo-apps-example-projects#node-js-alpha">
27+
Gallery of example projects/demo apps built with Node.js and PowerSync.
2828
</Card>
2929
</CardGroup>
3030

resources/demo-apps-example-projects.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Example projects are listed under backend they use, but you can easily wire up y
5858
* [Yjs CRDT Text Collaboration Demo](https://github.com/powersync-ja/powersync-js/tree/main/demos/yjs-react-supabase-text-collab)
5959

6060
#### Starter Projects:
61-
* [example-electron](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-electron): Example demonstrating the use of PowerSync together with an [Electron](https://www.electronjs.org/) rendered web app.
61+
* [example-electron](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-electron): Example demonstrating the use of PowerSync together with an [Electron](https://www.electronjs.org/) rendered web app. Also see the [Node.js + Electron example](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-electron-node) which runs PowerSync in the main process.
6262
* [example-capacitor](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-capacitor): Example demonstrating the use of PowerSync together with a [Capacitor](https://capacitorjs.com/) app.
6363
* [example-nextjs](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-nextjs/README.md): A minimal example demonstrating setup with [Next.js](https://nextjs.org/).
6464
* [example-webpack](https://github.com/powersync-ja/powersync-js/blob/main/demos/example-webpack/README.md): A minimal example demonstrating bundling with [Webpack](https://webpack.js.org/).
@@ -70,7 +70,10 @@ Example projects are listed under backend they use, but you can easily wire up y
7070

7171
<Accordion title="Node.js (alpha)" icon="node-js">
7272
#### Self-Hosted:
73-
* [CLI example](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-node)
73+
* [CLI example](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-node): Demonstrates a small Node.js CLI client opening a database, connecting PowerSync and running live queries.
74+
75+
#### Other
76+
* [Electron](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-electron-node): An Electron example that runs PowerSync in the main process using the Node.js SDK. As opposed to [this Electron example](https://github.com/powersync-ja/powersync-js/tree/main/demos/example-electron) running PowerSync in the renderer process using the Web SDK.
7477
</Accordion>
7578

7679
<Accordion title="Kotlin Multiplatform" icon="k">

0 commit comments

Comments
 (0)