🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
Features
GraphQL API Generators - Generating a complete GraphQL API schema by introspecting an existing PostgreSQL database structure and relationships.
PostgreSQL GraphQL Generators - An extensible toolkit that generates a real-time GraphQL API from a PostgreSQL database schema with plugin support and incremental delivery.
Database Schema Introspection Tools - Analyzing a PostgreSQL database to extract table, column, and relationship metadata for automated code generation.
GraphQL Schema Generators - Generate a complete GraphQL API schema by introspecting an existing PostgreSQL database structure and relationships.
GraphQL Schema Behavior Plugins - Add or override schema features like authorization, filtering, and resolver logic through a plugin system.
Custom Database-Backed Mutations - Define custom database-backed mutations as GraphQL endpoints without manually wiring the schema.
Cursor-Based Pagination - Implement cursor-based pagination compatible with Relay specifications for efficient traversal of large result sets.
Engines - Reduce database round trips by batching and optimizing queries through a planning engine before they reach PostgreSQL.
Data-Fetching Plan Execution - Executes GraphQL queries by first building a detailed execution plan, then optimizing and batching database operations before running them.
GraphQL Schema Customizations - Rename, hide, or reshape database entities and add custom types using smart tags and schema extensions.
GraphQL Schema Plugins - Hook into schema build phases to add or modify GraphQL types and fields through plugin objects.
Schema Build Phase Hooks - Extends the generated schema by hooking into build phases with plugin objects that add or modify types and fields.
GraphQL Resolver Customizations - Add custom resolvers, types, and business logic while keeping the schema structure intact.
Row Level Security - Enforces PostgreSQL row-level security policies directly in GraphQL queries, restricting data access per user.
JWT Authentication - Verify JSON Web Tokens issued from the database to authorize API requests without a separate authentication service.
GraphQL API Presets - Configures the GraphQL API using preset files that bundle settings for different deployment modes and environments.
GraphQL Integration Middleware - Mount the GraphQL server into any Node.js HTTP framework using an adapter for deep integration.
Smart Tag Customizations - Renaming, hiding, or reshaping database entities and adding custom types using smart tags and schema extensions.
Database-Introspected Generators - Generates a complete GraphQL schema by introspecting PostgreSQL tables, columns, relations, and functions at build time.
Incremental GraphQL Delivery - Streams query results to clients in chunks, allowing partial data display before the full response arrives.
Query Planning Engines - Streams query results to clients in chunks using cursor-based pagination and query planning to reduce database round trips.