|
2 | 2 | title: "Where to host a TypeScript frontend, Node API and Postgres in 2026: Prisma Compute, Railway, Render, Fly.io and Vercel compared" |
3 | 3 | slug: "where-to-host-typescript-frontend-node-api-postgres" |
4 | 4 | date: "2026-09-22" |
5 | | -updatedAt: "2026-11-25" |
| 5 | +updatedAt: "2026-11-30" |
6 | 6 | authors: |
7 | 7 | - "Gregory Boch" |
8 | 8 | metaTitle: "Where to host a TypeScript frontend, Node API and Postgres (2026)" |
@@ -76,11 +76,11 @@ The Compute FAQ answers [Should I use Prisma Compute for an existing GitHub repo |
76 | 76 |
|
77 | 77 | **Best for:** a TypeScript frontend and Node API that ship with their database from one repository in one project. Neither product needs Prisma ORM. |
78 | 78 |
|
79 | | -**What it does.** Prisma Compute hosts TypeScript services (Node.js, Bun or Next.js) next to Prisma Postgres and has been generally available since August 2026. With Prisma Composer you describe each service, its database and the calls between them in TypeScript. `npx prisma dev` runs it locally with a local Postgres, and `npx prisma deploy` provisions the services on Compute and the database on Prisma Postgres, which is managed PostgreSQL 17 with PgBouncer pooling included and no point-in-time recovery yet (coming in November 2026); any Postgres client works. With deploy on push set up, the default branch deploys production and every other branch gets a preview with its own services and database. |
| 79 | +**What it does.** Prisma Compute hosts TypeScript services (Node.js, Bun or Next.js) next to Prisma Postgres and has been generally available since August 2026. With Prisma Composer you describe each service, its database and the calls between them in TypeScript. `npx prisma dev` runs it locally with a local Postgres, and `npx prisma deploy` provisions the services on Compute and the database on Prisma Postgres, which is managed PostgreSQL 17 with PgBouncer pooling included and no point-in-time recovery yet (coming soon); any Postgres client works. With deploy on push set up, the default branch deploys production and every other branch gets a preview with its own services and database. |
80 | 80 |
|
81 | 81 | **Pricing.** Free: app and database with no usage billing (1M requests, 360 GB-hours of memory, 4 vCPU-hours, 10 GB of bandwidth, 200,000 operations, 2 GB of storage and 50 databases). Starter: $10 a month base with 5M requests and 1M operations included, 10 GB of storage and daily backups kept 7 days; memory ($0.006 per GB-hour), active vCPU ($0.064 per hour) and bandwidth ($0.025 per GB) are metered from the first unit, with requests at $1 per million and operations at $8 per million beyond that ([prisma.io/pricing](https://www.prisma.io/pricing), as of October 2026). |
82 | 82 |
|
83 | | -**Trade-offs.** No WebSocket servers today (support is planned for early 2027), one region per service and no point-in-time recovery yet (coming in November 2026). [Where Prisma is the wrong choice](#where-prisma-is-the-wrong-choice) below covers each case, and [Where it has trade-offs](https://www.prisma.io/docs/compute/faq#where-it-has-trade-offs) in the Compute FAQ is the full list. |
| 83 | +**Trade-offs.** No WebSocket servers today (support is planned for early 2027), one region per service and no point-in-time recovery yet (coming soon). [Where Prisma is the wrong choice](#where-prisma-is-the-wrong-choice) below covers each case, and [Where it has trade-offs](https://www.prisma.io/docs/compute/faq#where-it-has-trade-offs) in the Compute FAQ is the full list. |
84 | 84 |
|
85 | 85 | **How we compared.** We make Prisma Compute and Prisma Postgres. Railway, Render, Fly.io and Vercel were checked against their own documentation and pricing on 2026-09-30, their build, preview and database facts again on 2026-10-08, Railway's pricing and Fly.io's pricing, Fly Launch and Managed Postgres pages again on 2026-10-14, and Railway's pricing and free trial and Render's free-instance page again on 2026-10-21; the database section was checked against Neon's and Supabase's docs on 2026-10-07. Sources are linked inline and under Sources. |
86 | 86 |
|
@@ -146,7 +146,7 @@ The Compute FAQ answers [Should I use Prisma Compute for an existing GitHub repo |
146 | 146 |
|
147 | 147 | If the frontend stays on Vercel or Netlify and the API on Railway or Render, use [Prisma Postgres](https://www.prisma.io/postgres) as the database: PostgreSQL 17 with [PgBouncer pooling](https://www.prisma.io/docs/postgres/database/connection-pooling) included, reached by connection string, Free with 200k operations a month and no credit card. The same goes for an app that already runs entirely on Railway, Render, Fly.io, Vercel or Netlify and only needs a managed database: `pg`, Drizzle, Kysely, `psql` or Prisma ORM all connect with the connection string, and nothing about your hosting changes. Pick the region closest to the app from the [six regions](https://www.prisma.io/docs/postgres/faq#what-regions-is-prisma-postgres-available-in), because every query crosses the network between the providers. Free also includes 50 databases. Starter is $10 a month with 1M operations and 10 GB of storage included, then $8 per million operations and $2 per GB, and data transfer is unlimited on every plan ([prisma.io/pricing](https://www.prisma.io/pricing), as of October 2026). |
148 | 148 |
|
149 | | -Neon or Supabase is the pick if you need point-in-time recovery today. Prisma Postgres keeps [daily snapshots](https://www.prisma.io/docs/postgres/database/backups) on paid plans, for 7 days on Starter and Pro and 30 on Business, and has no point-in-time recovery yet; it is coming in November 2026. Neon's [instant restore](https://neon.com/docs/postgres/backup-restore/branch-restore) returns a root branch to any moment in its history window, and Supabase sells [point-in-time recovery](https://supabase.com/docs/guides/platform/backups) as an add-on on Pro and higher plans (as of November 2026). |
| 149 | +Neon or Supabase is the pick if you need point-in-time recovery today. Prisma Postgres keeps [daily snapshots](https://www.prisma.io/docs/postgres/database/backups) on paid plans, for 7 days on Starter and Pro and 30 on Business, and has no point-in-time recovery yet; it is coming soon. Neon's [instant restore](https://neon.com/docs/postgres/backup-restore/branch-restore) returns a root branch to any moment in its history window, and Supabase sells [point-in-time recovery](https://supabase.com/docs/guides/platform/backups) as an add-on on Pro and higher plans (as of November 2026). |
150 | 150 |
|
151 | 151 | ## Can I host my existing GitHub repo on Prisma? |
152 | 152 |
|
@@ -235,7 +235,7 @@ In your code, the frontend calls the API's contract instead of a URL (a contract |
235 | 235 | - **You need more than one region.** Each Compute service runs in one of six regions; Fly.io places Machines where you choose, while a Fly.io Managed Postgres cluster sits in one region. |
236 | 236 | - **You want to run your own Docker image.** Compute deploys the built output of Composer's `node` or `nextjs` adapter rather than an image you supply; Railway, Render and Fly.io run a container you build. |
237 | 237 | - **Your frontend needs a global CDN above all.** Prisma Compute is not a CDN or edge platform, so put the frontend on Vercel and keep the database on Prisma Postgres. |
238 | | -- **Your database needs point-in-time recovery today.** Prisma Postgres has daily snapshots on paid plans and no point-in-time recovery yet (coming in November 2026); [Just the database](#just-the-database-prisma-postgres-neon-or-supabase) names the databases that have it. |
| 238 | +- **Your database needs point-in-time recovery today.** Prisma Postgres has daily snapshots on paid plans and no point-in-time recovery yet (coming soon); [Just the database](#just-the-database-prisma-postgres-neon-or-supabase) names the databases that have it. |
239 | 239 | - **You want the platform to run the build.** Prisma's deploys run in your GitHub Actions; Railway and Render build on their own machines. |
240 | 240 | - **Your code is not on GitHub.** Deploy on push is GitHub only; other CI can run `npx prisma deploy` with a service token, but you script stages and teardown yourself. |
241 | 241 | - **You want the lowest bill and will run servers yourself.** Past the free tiers, a VPS you patch yourself is the lowest monthly bill here; backups, upgrades and uptime are on you. |
@@ -270,6 +270,7 @@ The Railway, Render, Fly.io and Vercel pages were checked on 2026-09-30, their b |
270 | 270 |
|
271 | 271 | ## Update history |
272 | 272 |
|
| 273 | +- 2026-11-30: point-in-time recovery for Prisma Postgres no longer has a date: each line that gave November 2026 as its date now says it is coming soon; until then, paid plans keep daily snapshots. No other facts changed. |
273 | 274 | - 2026-11-25: the quick recommendation now says how to get a Prisma Postgres database without an account ([`npx create-db@latest`](https://www.prisma.io/docs/postgres/npx-create-db)) and that an unclaimed one is deleted automatically. Checked against Prisma's create-db docs on 2026-11-25. |
274 | 275 | - 2026-11-12: said in the situation table and the Fly.io pricing line that Fly.io, which still has no free tier, waives a personal organization's monthly bill under $5 once a credit card is on file, in the pricing line that a bill of $5 or more is charged in full and other organizations get no waiver, and in the situation table that Fly.io's Managed Postgres starts at $38 a month; said in the Render entry and its comparison with Prisma Compute that preview environments need a Pro workspace or higher and stay off until the Blueprint sets `previews.generation` to `manual` or `automatic`. Fly.io's pricing, free waiver and Managed Postgres pages and Render's preview environment page were checked on 2026-11-12. |
275 | 276 | - 2026-11-09: dropped the module file from the `npx prisma deploy` and `npx prisma dev` commands, because the current CLI takes no positional argument and reads the entry from the `composer` section of `prisma.config.ts` (`entry: './module.ts'`), which the setup steps now name; said in the Render trade-offs that a free web service spins down after 15 minutes without traffic and takes about a minute to start again, while a free Postgres database does not spin down and expires 30 days after creation; said in the Fly.io trade-offs that the older `fly postgres` commands manage the legacy Fly Postgres app, which Fly.io no longer maintains or supports; and pointed the "What Railway manages" links back at Railway's databases page, because the docs source on GitHub returns 404. Prisma's deploy and dev command docs, error reference and porting guide, Railway's databases page, Render's free-instance page and Fly.io's Managed Postgres, archived Fly Postgres and `fly postgres` command pages were checked on 2026-11-09. |
|
0 commit comments