Skip to content

Guides Overview

Comprehensive guides for building, deploying, and optimizing FraiseQL applications.

New to FraiseQL? Start with the Getting Started guide for your first steps. Once you have a working API, explore Custom Queries to learn filtering, search, and pagination.

  • REST vs GraphQL — When to use each transport (you don’t have to choose — FraiseQL serves both)
  • REST Transport — Annotation-driven REST endpoints, OpenAPI spec generation
  • gRPC Transport — Transport-aware DB views, auto-generated .proto
  • Transport Overview — GraphQL, REST, and gRPC from one binary
  • Custom Queries — Add filtering, full-text search, and cursor-based pagination to queries
  • Error Handling — Return structured errors from SQL functions and handle them in resolvers
  • Authentication — JWT, OAuth, API keys, and custom auth middleware
  • Testing — Unit, integration, and contract tests for FraiseQL resolvers
  • Performance — Query optimisation, indexes, and connection pooling
  • Performance Benchmarks — Reproducible comparisons vs Hasura, PostGraphile, async-graphql, and strawberry
  • Deployment — Docker, Kubernetes, and cloud deployment checklist
  • FAQ — Frequently asked questions with runnable answers
  • Troubleshooting — Diagnose and fix common runtime errors

  1. Start with Custom Queries
  2. Add Error Handling
  3. Implement Testing
  4. Review Schema Design
  1. Plan Deployment
  2. Set up Authentication
  3. Configure Performance
  4. Monitor with Benchmarks
  1. Learn Multi-Tenancy architecture
  2. Implement Advanced Patterns
  3. Set up Federation if needed
  4. Test with Testing guide

GuidePurposeAudience
Custom QueriesFiltering, search, and paginationAll developers
Schema DesignStructure your data modelAll developers
Advanced PatternsEnterprise patternsExperienced developers
Multi-TenancySaaS architecturesSaaS developers
TestingEnsure code qualityQA engineers, developers
PerformanceOptimise queriesDevOps, backend developers
DeploymentGo to productionDevOps engineers
AuthenticationSecure your APIBackend developers
Error HandlingHandle errors gracefullyAll developers
FAQCommon questionsAll users

Custom Queries

Add filtering, full-text search, and cursor-based pagination to your GraphQL queries. Custom Queries →

Error Handling

Return structured errors from PostgreSQL functions and surface them cleanly in GraphQL. Error Handling →

Multi-Tenancy

Row-level security and per-tenant isolation for SaaS applications. Multi-Tenancy →

Performance

Indexes, connection pooling, and query optimisation for production workloads. Performance →


Need examples?

Examples — Browse code examples