DocsBlogPricingPluginsDemo
Get Codapult

Build your SaaS. Launch your MVP.

Get Codapult

Product

  • Pricing
  • Architecture
  • Modules
  • AI platform
  • Plugins

Developers

  • MCP
  • CLI
  • Documentation
  • Launch your SaaS
  • Build a B2B SaaS

Resources

  • Blog
  • FAQ

Connect

  • Contact
  • GitHub

Compare

  • SaaS template comparison
  • Codapult vs Supastarter
  • Codapult vs Makerkit
  • Codapult vs ShipFast
  • Codapult vs SaaSBold
  • Codapult vs Gravity
  • Codapult vs Nextbase
  • Codapult vs BuilderKit

Featured on

Codapult on LaunchNestCodapult on LaunchNestbetterlaunch.cobetterlaunch.coFeatured on LaunchBuffFeatured on LaunchBuffCodapult on PeerPushCodapult on PeerPushFeatured on LaunchItFeatured on LaunchIt
© 2026 Codapult·All rights reserved·Privacy Policy·Terms of Service
Built-in AI · Team-ready SaaS · One-time purchase
All articles

Getting Started

  • Introduction
  • Quick Start
  • Your First 30 Minutes
  • Project Structure
  • License and Permitted Use
  • Starter Profiles and Recipes
  • Product Recipes

Configuration

  • Environment Variables
  • App Configuration
  • Which Modules Should I Enable?
  • Provider Matrix
  • Capability Coverage

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Database

  • Database
  • Database and Provider Guide
  • Database Migrations

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Deployment

  • Deployment
  • Enterprise E2E Evidence
  • Enterprise Production Readiness
  • Deployment, Backup, and Restore Runbook
  • Troubleshooting

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Ai

  • AI Features
  • AI Runtime Architecture and Evals
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Security

  • Security
  • Data Retention Policy

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Welcome Page
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Referrals
  • GDPR Export and Deletion
  • Promotions
  • Outgoing Webhooks

Plugins

  • Product plugins
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
  • Build Your First Feature with Codapult MCP
  • Architecture Guardrails for AI Coding Agents
Api

GraphQL

Add an optional GraphQL API to Codapult with graphql-yoga, SDL schema definitions, typed resolvers, authentication, and rate-limited route handlers.

Codapult includes an optional graphql-yoga server for teams that prefer GraphQL over REST or tRPC. It is an independent module and can be removed without affecting other API layers.

Endpoint

The endpoint is /api/graphql. Send queries and mutations with POST and a JSON body. GET is available only for the development GraphiQL playground; the production route returns 404 for GET.

In development, graphql-yoga serves a built-in GraphiQL playground at the same URL when accessed from a browser.

When to Use GraphQL vs tRPC

Use caseRecommended
Internal frontend ↔ backend communicationtRPC
Public API for third-party consumersGraphQL
Mobile app with varied data requirementsGraphQL
Dashboard with full-stack TypeScripttRPC
Need introspection/schema discoveryGraphQL

Both layers can be used in the same application. Their request limits are configured independently: GraphQL allows 60 requests per minute per IP, while tRPC allows 200. GraphQL limits query depth and disables schema introspection in production.

Authentication

The endpoint uses the current application session. Public fields such as plans can be queried without signing in; user-specific fields and mutations require a valid session and return a GraphQL error otherwise. For example:

{
  "query": "query { plans { id name } }"
}

Send it as the POST body to /api/graphql. Check the resolver access policy for each field before exposing additional data; authentication on the route does not automatically make every field private or every user-data query safe.

Removal

GraphQL is a separately mapped optional module. Use the setup wizard:

npx @codapult/cli setup

The setup wizard identifies the module's removal changes. Review its proposed diff and run the project's typecheck and tests afterward.

tRPCAI Features