Skip to content

Commit fedbbeb

Browse files
feat: add top-level Prisma Compute templates (#8562)
1 parent 6d44921 commit fedbbeb

52 files changed

Lines changed: 8658 additions & 29 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dist/
1313
.idea
1414
tmp-resolvers
1515
package-lock.json
16+
!compute/*/package-lock.json
1617
flow-typed
1718
yarn.lock
1819
bun.lock

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,20 @@ The [`accelerate`](./accelerate) folder contains examples of projects using [Pri
118118
| [`nuxt-starter`](./accelerate/nuxtjs-starter/) | A Nuxt.js project using Prisma Accelerate's caching and connection pooling |
119119
| [`astro-starter`](./accelerate/astro-starter/) | An Astro project using Prisma Accelerate's caching and connection pooling |
120120

121+
## Prisma Compute
122+
123+
The [`compute`](./compute) directory contains applications ready to deploy to Prisma Compute.
124+
125+
| Demo | Description |
126+
| ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
127+
| [`compute/hono`](https://github.com/prisma/prisma-examples/tree/latest/compute/hono) | [Hono](https://hono.dev/) API deployed to Prisma Compute with `@prisma/cli`. |
128+
| [`compute/nextjs`](https://github.com/prisma/prisma-examples/tree/latest/compute/nextjs) | [Next.js](https://nextjs.org/) App Router app using standalone output for Prisma Compute. |
129+
| [`compute/tanstack-start`](https://github.com/prisma/prisma-examples/tree/latest/compute/tanstack-start) | [TanStack Start](https://tanstack.com/start) app using the Nitro output supported by Prisma Compute. |
130+
121131
## Deployment platforms
122132

123133
The projects in the [`deployment-platforms`](./deployment-platforms) directory show what "Prisma Client"-based deployment setups look like for various deployment providers. Learn more about [deployment](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/deployment) in the Prisma documentation.
124134

125-
| Demo | Description |
126-
| ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
127-
| [`prisma-compute/hono`](https://github.com/prisma/prisma-examples/tree/latest/deployment-platforms/prisma-compute/hono) | [Hono](https://hono.dev/) API deployed to Prisma Compute with `@prisma/cli`. |
128-
| [`prisma-compute/nextjs`](https://github.com/prisma/prisma-examples/tree/latest/deployment-platforms/prisma-compute/nextjs) | [Next.js](https://nextjs.org/) App Router app using standalone output for Prisma Compute. |
129-
| [`prisma-compute/tanstack-start`](https://github.com/prisma/prisma-examples/tree/latest/deployment-platforms/prisma-compute/tanstack-start) | [TanStack Start](https://tanstack.com/start) app using the Nitro output supported by Prisma Compute. |
130-
131135
## Real-world & production-ready example projects with Prisma
132136

133137
- [Inbox Zero](https://github.com/elie222/inbox-zero): Open source email management tools to reach inbox zero fast

deployment-platforms/prisma-compute/README.md renamed to compute/README.md

File renamed without changes.

deployment-platforms/prisma-compute/hono/.env.example renamed to compute/hono/.env.example

File renamed without changes.

deployment-platforms/prisma-compute/hono/.gitignore renamed to compute/hono/.gitignore

File renamed without changes.

deployment-platforms/prisma-compute/hono/README.md renamed to compute/hono/README.md

File renamed without changes.

0 commit comments

Comments
 (0)