Documentation
Everything you need to build, deploy, and scale your PostgreSQL API with Postrust.
Quick Start
Get your PostgreSQL API running in under 5 minutes with Docker.
-e DATABASE_URL="..." \
postrust/postrust
Getting Started
Quick start guide to get your first API running in minutes
API Reference
Complete reference for REST endpoints, operators, and headers
GraphQL
Full GraphQL API with queries, mutations, subscriptions, and filtering
Realtime Subscriptions
Live data updates via GraphQL subscriptions and PostgreSQL LISTEN/NOTIFY
pgvector Integration
Vector similarity search for AI apps, semantic search, and RAG pipelines
Custom Routes
Define custom Rust handlers for webhooks, business logic, and more
SaaS Domains (Beta)
Multi-tenant custom domains with automatic SSL and dynamic routing
Authentication
JWT authentication and PostgreSQL Row-Level Security
Configuration
Environment variables and runtime configuration options
Deployment
Deploy to Docker, AWS Lambda, Kubernetes, and more
Benchmarks
Measured binary size, latency and memory, and the script that reproduces them