Instant GraphQL API for your PostgreSQL database; use standalone or as a Node.js middleware; MIT-licensed OSS
Companies using PostGraphile
PostGraphile integrates with
Why people like PostGraphile
Add a one-liner



Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database

PostGraphile's Features
  • instant GraphQL schema via reflection over PostgreSQL database API
  • compiles complex GraphQL queries into very few SQL statements resulting in high performance
  • built entirely from plugins - heavily customisable
  • support for PostgreSQL RBAC and RLS
  • watch mode (monitors for database schema changes) for great DX
  • standalone server, express middleware, or GraphQL schema
  • integration with Express auth via pgSettings (e.g. Passport.js, optional)
  • JWT auth (optional)
  • very strong support for PostgreSQL functions
  • simple to set up and scale


This page was verified by
benjie benjie