# Neon alternative with Auth, Storage and Realtime

> Scribase gives you Neon-style copy-on-write branches and scale to zero, plus the auth, storage and REST layer an app needs, for $25 per project a month.

Source: https://scribase.com/neon-alternative

If you chose Neon for branching and scale to zero, Scribase keeps both and adds what you would otherwise wire up yourself: user sign-in, file storage, realtime and an HTTP data API, all on the same Postgres.

## The Neon features you keep

_Verified on the hosted service (compat run of 2026-10-06)_

| Feature | On Scribase |
| --- | --- |
| Copy-on-write branches | A branch gets its own URL and keys and carries the parent rows |
| Scale to zero | Idle environments sleep; the API shows the state and the measured wake time |
| Time travel | Branch from a past time, reset, or restore within the history window |
| Anonymized branches | Masking rules applied to columns when the branch is made |
| Branch expiry | A branch made with a TTL reports and enforces when it expires |
| Schema diff | Compare two branches before you merge |
| Serverless driver | @neondatabase/serverless runs queries over HTTP and WebSocket |
| Protected branches and IP allow lists | Protected branches refuse delete, reset and restore |
| Users sync and bring-your-own JWT | neon_auth.users_sync mirrors users; REST accepts tokens from issuers you list |
| Data API | postgrest-js with only a bearer token works unchanged |

## What you get on top

- Auth: email and password, magic links, OAuth providers, passkeys, TOTP, SAML SSO and anonymous users, stored in the same database as your tables.
- Storage: buckets protected by row level security, signed URLs, resumable uploads and image transforms.
- Realtime: broadcast, presence and database change streams filtered by your policies.
- Edge functions, cron (pg_cron), queues (pgmq) and vector search (pgvector) without another vendor.
- One price per project instead of compute-hours, storage and data transfer meters.

## Keep using the serverless driver

The environment answers GET /serverless with a connection URI and an HTTP endpoint for the driver. Point neonConfig.fetchEndpoint at it and existing queries run as they did.

```ts
import { neon, neonConfig } from '@neondatabase/serverless'

// Values from GET /v1/organizations/<org>/projects/<project>/environments/<env>/serverless
neonConfig.fetchEndpoint = () => process.env.SCRIBASE_SQL_HTTP_ENDPOINT!
const sql = neon(process.env.DATABASE_URL!)

const rows = await sql`select id, title from posts order by id desc limit 10`
```

## When to stay on Neon

Where Neon is still the better fit, stated plainly rather than argued around:

- You need a specific region, or want to choose one at all: Neon runs across 8 AWS regions (US East x2, US West, EU Frankfurt, EU London, Singapore, Sydney, São Paulo), checked live 2026-11-11. Scribase is one Oracle VM in Frankfurt, no region picker.
- You need SOC 2 Type II or HIPAA today: Neon publishes an annual SOC 2 Type II report and supports HIPAA workloads. Scribase has neither certification yet (see /security).
- You connect over plain TCP (psql, an ORM, pg_dump/pg_restore, a BI tool): Neon supports this natively. Scribase does not open direct Postgres ports yet — only REST, GraphQL, the HTTP serverless driver, migrations and the console SQL editor work today.
- You need proven scale across many organizations: Neon is a funded, independently audited platform; Scribase is a small team with a handful of external users.

## Sources

- [Neon: Regions](https://neon.com/docs/introduction/regions)
- [Neon: Security & compliance](https://neon.com/security)

## What does not work yet

- Phone and SMS one-time codes: the allow list works, the managed SMS sender is not switched on yet.
- Direct Postgres connections from the internet (ports 5432 and 6543, for psql or pg_restore): not open yet. Migrations, the console SQL editor and the HTTP serverless driver work today.
- Read replicas and foreign data wrappers to remote servers: built, not yet proven on the hosted service.

## Move in one command

scribase-migrate is a small, separate command-line tool (no install, runs with npx) that moves a Neon database — or any plain Postgres database — into a Scribase environment, including an auth.users-shaped table if you have one, then verifies the row counts you name.

_Documented at docs.scribase.com/docs/migrate (needs pg_dump installed)_

```sh
npx --yes git+https://rithub.dev/caelum0x/scribase-migrate.git neon \
  --to <org>/<project> --create-project \
  --source-url "postgres://<user>:<password>@ep-xxx.<region>.aws.neon.tech/neondb" \
  --migrate-auth-users \
  --verify-row-counts public.profiles
```

## FAQ

**Is Scribase built on Neon?**

No. Hosted projects run on Scribase's own copy-on-write Postgres engine. Scribase is a separate company and is not affiliated with or endorsed by Neon.

**Does scale to zero mean my project gets paused?**

No. An idle environment stops its compute and wakes on the next request. Nobody has to restore it, and the data stays where it is.

**Can I connect with psql or an ORM over TCP?**

Direct TCP connections from the internet are not open yet. Today you reach the database over the REST and GraphQL APIs, the HTTP serverless driver, migrations through the CLI, and the console SQL editor.

**How is it priced?**

Per project, per month: $5 on Hobby or $25 on Pro, with branches and preview environments included.

## Related

- [Free Postgres hosting compared](https://scribase.com/free-postgres-hosting)
- [Migrate from Neon](https://scribase.com/migrate/neon)
- [How Postgres branching works](https://scribase.com/postgres-branching)
- [Neon branch limit exceeded](https://scribase.com/neon-branch-limit-exceeded)
- [Neon too many connections](https://scribase.com/neon-too-many-connections)
- [Neon free tier limits](https://scribase.com/neon-free-tier-limits)
- [Supabase alternative](https://scribase.com/supabase-alternative)
- [Render alternative](https://scribase.com/render-alternative)
- [Supabase vs Neon](https://scribase.com/supabase-vs-neon)
- [Scribase vs Supabase vs Neon](https://scribase.com/scribase-vs-supabase-vs-neon)
- [Postgres error codes](https://scribase.com/postgres-errors)
- [Pricing](https://scribase.com/pricing)