All tutorials
BeginnerDatabases9:47

Zero-Config PostgreSQL with Syvera Databases

Add a production-ready PostgreSQL database to any project in one click — connection strings and backups included.

By Leon Müller

DatabasePostgreSQLBackend

Try it yourself

Open Syvera and follow along — it's free.

Start building

Step-by-step guide

4 steps

1

Open the Database panel

In your Repl, click the Database icon in the left sidebar. Select "Create a database" — PostgreSQL 16 is provisioned instantly.

2

Use DATABASE_URL in your code

The connection string is automatically injected as the DATABASE_URL environment variable. No copy-pasting required.

3

Run your first query

Use the built-in SQL editor to create tables, insert test data, and verify your schema before writing application code.

4

Connect your ORM

Whether you use Drizzle, Prisma, or raw `pg`, point it at `process.env.DATABASE_URL` and you're connected.

Complete all steps to finish this tutorial.