Skip to content

Guides Overview

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

New to FraiseQL? Start with Custom Queries to learn how FraiseQL resolves GraphQL fields directly from PostgreSQL views — the core concept everything else builds on.

  • Custom Queries — Learn how SQL views become GraphQL queries; start here
  • 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 Prisma, Apollo, and Hasura
  • 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 QueriesConnect SQL views to GraphQLAll 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

How SQL views become GraphQL queries — the concept that underpins everything else. Start here →

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