Postgres ORM · pg-proxy · console

NanoDB

A lightweight Drizzle wrapper for Postgres with auto-migrations, plugins, and a hosted console for projects and queries.

Built for the day you outgrow local scripts.

Schema to Postgres

Define tables in TypeScript. NanoDB migrates, introspects, and keeps your proxy-backed Postgres in sync.

Console that ships

Create projects, copy connection strings, browse schema, and run SQL from one console.

Plugins, not bloat

Auth helpers, timestamps, soft delete, logging, and schema guards as optional packages on a thin core.

Console

Projects, connections, schema, SQL.

Sign up, create a project, and land in a dashboard for connections, schema, and SQL.

Create your first project
console.nanodb.dev
acme-prod
us-east-1 · active
healthy
SELECT * FROM users LIMIT 10;
id
name
email

Install once. Query forever.

Use the npm package locally or from the console connection string. Same API either way.

npm install nanodb

import nanodb from 'nanodb'

const db = await nanodb.createDatabase({
  tables: { users, posts },
})

const adults = await db
  .select()
  .from(users)
  .where(nanodb.query.gte(users.age, 18))