Skip to content

Commit

Permalink
Merge branch 'main' into fix/seo-content
Browse files Browse the repository at this point in the history
  • Loading branch information
meletj authored Aug 15, 2024
2 parents 66b2cdb + 8df8f44 commit 0b353e1
Show file tree
Hide file tree
Showing 21 changed files with 133 additions and 170 deletions.
4 changes: 3 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
"Zenstack",
"Streamdal",
"leaderboard",
"typesense"
"typesense",
"Solidstart",
"Astro"
],
"ignoreWords": [
"Ania",
Expand Down
27 changes: 27 additions & 0 deletions content/100-getting-started/01-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,33 @@ If you want to move forward with Prisma ORM using your own PostgreSQL, MySQL, Mo

Check out the [`prisma-examples`](https://github.com/prisma/prisma-examples/) repository on GitHub to see how Prisma ORM can be used with your favorite library. The repo contains examples with Express, NestJS, GraphQL as well as fullstack examples with Next.js and Vue.js, and a lot more.

### Build real-time apps with Prisma Pulse

[Prisma Pulse](/pulse) enables you to create applications that instantly react to changes in your database, allowing you to build type-safe real-time features and applications easily:

| Demo | Description |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| [`starter`](https://github.com/prisma/prisma-examples/tree/latest/pulse/starter) | A Prisma Pulse starter app |
| [`email-with-resend`](https://github.com/prisma/prisma-examples/tree/latest/pulse/email-with-resend) | An example app to send emails to new users using Prisma Pulse and Resend |
| [`fullstack-leaderboard`](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-leaderboard) | A live leaderboard (built with Next.js) |
| [`fullstack-simple-chat`](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-simple-chat) | A simple chat app (built with Next.js & Express) |
| [`product-search-with-typesense`](https://github.com/prisma/prisma-examples/tree/latest/pulse/product-search-with-typesense) | A cron job that syncs data into Typesense (built with Hono.js) |
| [`data-sync-with-bigquery`](https://github.com/prisma/prisma-examples/tree/latest/pulse/data-sync-with-bigquery) | A script that automatically syncs data into Google BigQuery |

### Speed up your database queries with Prisma Accelerate

[Prisma Accelerate](/accelerate) is a connection pooler and global database cache that can drastically speed up your database queries. Check out the [Speed Test](https://accelerate-speed-test.prisma.io/) or try Accelerate with your favorite framework:

| Demo | Description |
| ----------------------------------------------- | -------------------------------------------------------------------------- |
| [`nextjs-starter`](./accelerate/nextjs-starter) | A Next.js project using Prisma Accelerate's caching and connection pooling |
| [`svelte-starter`](./accelerate/svelte-starter/) | A SvelteKit project using Prisma Accelerate's caching and connection pooling |
| [`solidstart-starter`](./accelerate/solidstart-starter/) | A Solidstart project using Prisma Accelerate's caching and connection pooling |
| [`remix-starter`](./accelerate/remix-starter/) | A Remix project using Prisma Accelerate's caching and connection pooling |
| [`nuxt-starter`](./accelerate/nuxtjs-starter/) | A Nuxt.js project using Prisma Accelerate's caching and connection pooling |
| [`astro-starter`](./accelerate/astro-starter/) | An Astro project using Prisma Accelerate's caching and connection pooling |


### Build an app with Prisma ORM

The Prisma blog features comprehensive tutorials about Prisma ORM, check out our latest ones:
Expand Down
5 changes: 3 additions & 2 deletions content/100-getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ Explore our products that make it easy to build and scale data-driven applicatio

[**<Database />Prisma ORM**](/orm/overview/introduction/what-is-prisma) is a next-generation Node.js and TypeScript ORM that unlocks a new level of developer experience when working with databases thanks to its intuitive data model, automated migrations, type-safety & auto-completion.

[**<Bolt />Prisma Accelerate**](/accelerate/what-is-accelerate) is a global database cache with scalable connection pooling to make your queries fast.
[**<Bolt />Prisma Accelerate**](/accelerate) is a global database cache with scalable connection pooling to make your queries fast.

[**<SignalStream />Prisma Pulse**](/pulse) allows you to react to database changes with type-safe model streams in real-time.

[**<SignalStream />Prisma Pulse**](/pulse/what-is-pulse) allows you to react to database changes with type-safe model subscriptions.

</BorderBox>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The following is a list of extensions created by the community. If you want to c
| [`prisma-extension-random`](https://github.com/nkeil/prisma-extension-random) | Lets you query for random rows in your database |
| [`prisma-paginate`](https://github.com/sandrewTx08/prisma-paginate) | Adds support for paginating read queries |
| [`prisma-extension-streamdal`](https://github.com/streamdal/prisma-extension-streamdal) | Adds support for Code-Native data pipelines using Streamdal |
| [`prisma-rbac`](https://github.com/multipliedtwice/prisma-rbac) | Adds customizable role-based access control |

If you have built an extension and would like to see it featured, feel free to add it to the list by opening a pull request.

Expand Down
29 changes: 0 additions & 29 deletions content/300-accelerate/100-what-is-accelerate.mdx

This file was deleted.

21 changes: 21 additions & 0 deletions content/300-accelerate/800-examples.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: 'Examples'
metaTitle: 'Prisma Accelerate: Examples'
metaDescription: 'Check out ready-to-run examples for Prisma Accelerate.'
tocDepth: 3
---

## Prisma Accelerate examples

Here is a list of ready-to-run example projects that demonstrate how to use Prisma Accelerate:

| Demo | Description |
| ----------------------------------------------- | -------------------------------------------------------------------------- |
| [`nextjs-starter`](./accelerate/nextjs-starter) | A Next.js project using Prisma Accelerate's caching and connection pooling |
| [`svelte-starter`](./accelerate/svelte-starter/) | A SvelteKit project using Prisma Accelerate's caching and connection pooling |
| [`solidstart-starter`](./accelerate/solidstart-starter/) | A Solidstart project using Prisma Accelerate's caching and connection pooling |
| [`remix-starter`](./accelerate/remix-starter/) | A Remix project using Prisma Accelerate's caching and connection pooling |
| [`nuxt-starter`](./accelerate/nuxtjs-starter/) | A Nuxt.js project using Prisma Accelerate's caching and connection pooling |
| [`astro-starter`](./accelerate/astro-starter/) | An Astro project using Prisma Accelerate's caching and connection pooling |


13 changes: 10 additions & 3 deletions content/300-accelerate/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ metaTitle: 'Prisma Accelerate'
metaDescription: 'Prisma Accelerate is a global database cache with built-in connection pooling that helps improve database performance in Serverless and Edge applications.'
sidebar_position: 0
hide_table_of_contents: false
pagination_next: 'accelerate/what-is-accelerate'

pagination_next: 'accelerate/getting-started'
---

import {
Expand All @@ -27,7 +26,15 @@ import {

<IconTitle heading="h1" icon="fa-solid fa-bolt" iconColor="#16A394" >Prisma Accelerate</IconTitle>

[Prisma Accelerate](https://www.prisma.io/data-platform/accelerate) is a managed connection pooler with global caching that helps speed up database queries. With Accelerate, you can easily configure connection pooling and choose the right cache strategy for your app.
[Prisma Accelerate](https://www.prisma.io/data-platform/accelerate) is a fully managed global connection pool and caching layer for your existing database, enabling query-level cache policies directly from the Prisma ORM.

With 15+ global regions, the connection pool scales your app for a global audience, particularly for serverless deployments that risk connection timeouts during peak times.

Accelerate’s global cache, hosted in 300+ locations, ensures a fast experience for users, regardless of your database’s location.

You can configure query-level caching strategies directly in your code with Prisma ORM, making setup and tuning easy.

Together, the connection pool and cache allow you to scale effortlessly and handle traffic spikes without infrastructure concerns.

<Grid>
<LinkCard
Expand Down
108 changes: 0 additions & 108 deletions content/400-pulse/100-what-is-pulse.mdx

This file was deleted.

4 changes: 0 additions & 4 deletions content/400-pulse/700-feedback.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@ metaDescription: 'Learn where to submit feedback about Prisma Pulse.'
tocDepth: 3
---

<TopBlock>

You can submit any feedback about Prisma Pulse in the `#help-and-questions` channel in our community [Discord](https://pris.ly/discord).

</TopBlock>
20 changes: 20 additions & 0 deletions content/400-pulse/800-examples.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: 'Examples'
metaTitle: 'Prisma Pulse: Examples'
metaDescription: 'Check out ready-to-run examples for Prisma Pulse.'
tocDepth: 3
---

## Prisma Pulse examples

Here is a list of ready-to-run example projects that demonstrate how to use Prisma Pulse to build real-time applications:

| Demo | Description |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| [`starter`](https://github.com/prisma/prisma-examples/tree/latest/pulse/starter) | A Prisma Pulse starter app |
| [`email-with-resend`](https://github.com/prisma/prisma-examples/tree/latest/pulse/email-with-resend) | An example app to send emails to new users using Prisma Pulse and Resend |
| [`fullstack-leaderboard`](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-leaderboard) | A live leaderboard (built with Next.js) |
| [`fullstack-simple-chat`](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-simple-chat) | A simple chat app (built with Next.js & Express) |
| [`product-search-with-typesense`](https://github.com/prisma/prisma-examples/tree/latest/pulse/product-search-with-typesense) | A cron job that syncs data into Typesense (built with Hono.js) |
| [`data-sync-with-bigquery`](https://github.com/prisma/prisma-examples/tree/latest/pulse/data-sync-with-bigquery) | A script that automatically syncs data into Google BigQuery |

11 changes: 8 additions & 3 deletions content/400-pulse/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: ''
metaTitle: 'Prisma Pulse'
metaDescription: 'Prisma Pulse enables real-time database events with type-safe Prisma Client subscriptions.'
sidebar_position: 0
pagination_next: 'pulse/what-is-pulse'

pagination_next: 'pulse/getting-started'
---

import {
Expand All @@ -27,7 +26,13 @@ import {

<IconTitle heading="h1" icon="fa-solid fa-signal-stream" iconColor="#16A394">Prisma Pulse</IconTitle>

[Prisma Pulse](https://www.prisma.io/data-platform/pulse) lets you subscribe to any changes in your database easily and in a type-safe way using Prisma Client, enabling you to trigger events and actions in real-time.
[Prisma Pulse](https://www.prisma.io/data-platform/pulse) lets you build reactive, event-driven applications with your serverless backend, connecting seamlessly to your existing PostgreSQL database. With just a few lines of code, you can react to database changes in real-time.

This enables real-time tasks like sending welcome emails when a user signs up or simplifying complex batch jobs.

Pulse offers an alternative to traditional backend systems built with queues or scheduled batch jobs, eliminating the need for hosting, management, and maintenance.

Pulse provides a simple alternative using the idea of unidirectional data flow (via the [Change Data Capture](https://en.wikipedia.org/wiki/Change_data_capture) pattern). It also integrates seamlessly with Prisma ORM and lets you subscribe to any database change events directly via Prisma Client.

<Grid>
<LinkCard
Expand Down
Loading

0 comments on commit 0b353e1

Please sign in to comment.