Back to articles
Neon Has a Free Serverless PostgreSQL — Database Branching Like Git for Development

Neon Has a Free Serverless PostgreSQL — Database Branching Like Git for Development

via Dev.to WebdevAlex Spinov

Neon Has Free Serverless PostgreSQL With Git-Like Branching RDS costs money even when idle. Neon scales to zero — and lets you branch your database like git branches for development. What Makes Neon Different Serverless — scales to zero, pay only when active Branching — create database copies in seconds for dev/test Autoscaling — scales compute up and down automatically PostgreSQL compatible — standard Postgres, any driver works Instant restore — point-in-time recovery to any second Connection pooling — built-in pgbouncer Quick Start # Create a project at console.neon.tech # Get connection string # Connect with any Postgres client psql postgresql://user:pass@ep-cool-name.us-east-2.aws.neon.tech/dbname # Branch for development neonctl branches create --name feature-auth # Full database copy in <1 second! Use in Code import { neon } from ' @neondatabase/serverless ' const sql = neon ( process . env . DATABASE_URL ) const users = await sql `SELECT * FROM users WHERE active = true` Free Ti

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles