Skip to content

Commit

Permalink
Do no list technical examples under demos
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-dp committed Dec 19, 2024
1 parent abb5ded commit 471a1e9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 25 deletions.
6 changes: 1 addition & 5 deletions website/demos/nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description: >-
deployed_url: https://nextjs.examples.electric-sql.com/
source_url: https://github.com/electric-sql/electric/tree/main/examples/nextjs
image: /img/demos/items-screenshot.png
demo: true
homepage: true
order: 60
example: true
---

# {{ $frontmatter.title }}
Expand All @@ -18,8 +16,6 @@ order: 60

## Next.js example app

<DemoEmbed :demo="$frontmatter" />

This is an example using Electric with [Next.js](/docs/integrations/next).

The entrypoint for the Electric-specific code is in [`./app/page.tsx`](https://github.com/electric-sql/electric/blog/main/examples/nextjs/app/page.tsx):
Expand Down
6 changes: 1 addition & 5 deletions website/demos/proxy-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description: >-
deployed_url: https://proxy-auth.examples.electric-sql.com/
source_url: https://github.com/electric-sql/electric/tree/main/examples/proxy-auth
image: /img/demos/proxy-auth-screenshot.png
demo: true
homepage: true
order: 40
example: true
---

# {{ $frontmatter.title }}
Expand All @@ -18,8 +16,6 @@ order: 40

## Proxy auth with Electric

<DemoEmbed :demo="$frontmatter" />

This example demonstrates authorizing access to the Electric HTTP API using a proxy. It implements the [proxy-auth](/docs/guides/auth#proxy-auth) pattern described in the [Auth](/docs/guides/auth) guide.

The main proxy code is in [`./app/shape-proxy/route.ts`](https://github.com/electric-sql/electric/blob/main/examples/proxy-auth/app/shape-proxy/route.ts):
Expand Down
6 changes: 1 addition & 5 deletions website/demos/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description: >-
deployed_url: https://basic.examples.electric-sql.com
source_url: https://github.com/electric-sql/electric/tree/main/examples/react
image: /img/demos/items-screenshot.png
demo: true
homepage: true
order: 50
example: true
---

# {{ $frontmatter.title }}
Expand All @@ -18,8 +16,6 @@ order: 50

## Basic example using React

<DemoEmbed :demo="$frontmatter" />

This is our simplest example of a web app using Electric with [React](https://react.dev) and [Vite](https://vite.dev).

The Electric-specific code is in [`./src/Example.tsx`](https://github.com/electric-sql/electric/blog/main/examples/react/src/Example.tsx):
Expand Down
6 changes: 1 addition & 5 deletions website/demos/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description: >-
deployed_url: https://remix.examples.electric-sql.com/
source_url: https://github.com/electric-sql/electric/tree/main/examples/nextjs
image: /img/demos/items-screenshot.png
demo: true
homepage: true
order: 70
example: true
---

# {{ $frontmatter.title }}
Expand All @@ -18,8 +16,6 @@ order: 70

## Remix example app

<DemoEmbed :demo="$frontmatter" />

This is an example using Electric with [Remix](https://remix.run/).

The entrypoint for the Electric-specific code is in [`./app/routes/_index.tsx`](https://github.com/electric-sql/electric/blog/main/examples/remix/app/routes/_index.tsx):
Expand Down
6 changes: 1 addition & 5 deletions website/demos/tanstack.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description: >-
deployed_url: https://tanstack.examples.electric-sql.com/
source_url: https://github.com/electric-sql/electric/tree/main/examples/tanstack
image: /img/demos/items-screenshot.png
demo: true
homepage: true
order: 80
example: true
---

# {{ $frontmatter.title }}
Expand All @@ -18,8 +16,6 @@ order: 80

## Electric with Tanstack Query

<DemoEmbed :demo="$frontmatter" />

This is an example TanStack application developed using Electric for read-path sync, together with Tanstack Query for local writes with [optimistic state](/docs/guides/writes#optimistic-state).

See the [Electric <> Tanstack integration docs](https://electric-sql.com/docs/integrations/tanstack) for more context and a [video of the example running here](https://x.com/msfstef/status/1828763769498952173).
Expand Down

0 comments on commit 471a1e9

Please sign in to comment.