WunderGraph
  • Introduction

    • Overview
    • Getting Started
    • Manifesto
  • Use Cases

    • Overview
    • Programmable API Gateway
    • API Management
    • Backend for Frontend
    • API Composition & Integration
    • Versionless APIs: Easily build backwards compatible APIs
    • Multi Database, multi schema ORM
    • Generate SDKs for all your APIs
    • Centralized Governance, Monitoring, Access Controls and Logging across your APIs
    • Enabling your Organization to become API first
  • Architecture

    • Overview
    • Architecture Diagram
    • WunderGraph Explained in one Sequence Diagram
    • WunderGraph RPC Protocol explained
    • WunderGraph Conventions
    • Manage API Dependencies explicitly
  • Guides

    • Overview
    • Enable autocompletion in your IDE
    • Inject Short-Lived Token into Upstream Requests
    • Expose a GraphQL API from WunderGraph
    • Extend JSON fields with more specific types
    • Signing Origin Requests
    • Configure Authorization
  • Tutorials

    • Overview
    • Your first WunderGraph Application
    • NextJS Full-Stack Tutorial
  • Examples

    • Overview
    • Hello World
    • Cross API Joins
    • NextJS
    • Hooks
    • Caching
    • FaunaDB NextJS
    • Inject Bearer Token
    • PostgreSQL
    • PostgreSQL & Prisma
    • Publish Install API using WunderHub
    • Apollo Federation
    • Auth0 OpenID Connect Authentication
    • GraphQL Fragments
  • Features

    • Overview
    • TypeScript hooks to customize the API Gateway Middleware
    • API Namespacing
    • Cross-API Joins to compose APIs
    • TypeSafe Mocking
    • Local Development
    • OpenID Connect based Authentication
    • Authentication aware Data-Fetching
    • Authorization - Injecting Claims
    • Authorization - Role-Based Access Control
    • Automatic CSRF Protection for Mutations
    • HTTP-Layer Caching
    • GraphQL to JSON-RPC Compiler
    • Automatic Content Revalidation with ETags
    • Realtime Subscriptions
    • Live Queries
    • Generated Clients / SDKs
    • JSON-Schema Validation
    • Generated APIs for any Database
    • File-based Operations
    • Configuration as Code
    • File uploads to S3 compatible File Storages
    • Custom GraphQL Resolvers
  • Supported Data Sources

    • Overview
    • GraphQL
    • Apollo Federation
    • REST / OpenAPI
    • gRPC
    • SOAP
    • OData
    • Apache Thrift
    • PostgreSQL
    • MySQL
    • SQLite
    • SQLServer
    • MongoDB + Atlas
    • Planetscale
    • FaunaDB
    • Neo4j
    • Yugabyte
    • Oracle DB
  • Supported Frontend Frameworks

    • Overview
    • React-JS
    • React Native
    • NextJS
    • iOS / Swift / Objective-C
    • Android / Kotlin / Java
    • Remix
    • Svelte
    • Vue
    • SolidJS
  • Supported Backend Languages & Frameworks

    • Overview
    • NodeJS / TypeScript
    • Golang / Go
    • Python
    • Java / Kotlin
  • Core Concepts

    • Overview
    • API Namespacing
    • Virtual Graph
    • The `_join` field
    • Persisted Queries / Persisted Operations
  • Components of WunderGraph

    • Overview
    • wunderctl
    • WunderGraph SDK
    • WunderNode / WunderGraph Server
    • WunderGraph Client
    • WunderHub
  • wunderctl Reference

    • Overview
    • wunderctl init
    • wunderctl up
    • wunderctl generate
    • wunderctl login
    • wunderctl logout
    • wunderctl version
    • wunderctl add
    • wunderctl remove
  • WunderHub Reference

    • Overview
    • Publish an API to WunderHub
    • Integrate an API from WunderHub
  • Directives Reference

    • Overview
    • @fromClaim directive
    • @jsonSchema directive
    • @hooksVariable directive
    • @rbac directive
    • @injectGeneratedUUID directive
    • @injectCurrentDateTime directive
    • @injectEnvironmentVariable directive
    • @internalOperation directive
    • @export directive
    • @internal directive
    • @transform directive
  • wundergraph.config.ts Reference

    • Overview
    • GraphQL Data Source
    • PostgreSQL Data Source
    • MySQL Data Source
    • Planetscale Data Source
    • SQLite Data Source
    • SQLServer Data Source
    • MongoDB / Atlas Data Source
    • Apollo Federation Data Source
    • OpenAPI / REST Data Source
    • gRPC Data Source
    • Headers for HTTP-based Data Sources
    • mTLS for HTTP-based Data Sources
    • Introspection
    • WunderGraph Application
    • Code Generation
    • CORS
    • Cookie-based Authentication
    • Token-based Authentication
    • Authorization / RBAC
    • S3 file upload providers
    • Advanced Security
    • .graphqlconfig
  • wundergraph.server.ts Reference

    • Overview
    • preResolve hook
    • mutatingPreResolve hook
    • postResolve hook
    • mutatingPostResolve hook
    • mockResolve hook
    • customResolve hook
    • onOriginRequest hook
    • onOriginResponse hook
    • postAuthentication hook
    • revalidate hook
    • mutatingPostAuthentication hook
    • Custom GraphQL Servers
  • wundergraph.operations.ts Reference

    • Overview
    • Defaults
    • Authentication
    • Caching
    • Live Queries
    • custom Operations Configuration
  • wundergraph.manifest.json Reference

    • Overview
  • Frequently Asked Questions

    • Does WunderGraph support Postman Collections?
    • How is WunderGraph faster and more secure than other GraphQL solutions?
    • How is the developer experience different from legacy GraphQL?
    • How is server-side only GraphQL different from client-side GraphQL?

wundergraph.config.ts Reference

wundergraph.config.ts reference

Input Variables

Environment Variables

GraphQL Data Source

PostgreSQL Data Source

MySQL Data Source

Planetscale Data Source

SQLite Data Source

SQLServer Data Source

MongoDB / Atlas Data Source

Apollo Federation Data Source

OpenAPI / REST Data Source

gRPC Data Source

Headers for HTTP-based Data Sources

mTLS for HTTP-based Data Sources

Introspection

WunderGraph Application

Code Generation

CORS

Cookie-based Authentication

Token-based Authentication

Authorization

S3 file upload providers

Advanced Security

.graphqlconfig

Previous
← @transform directive
Next
GraphQL Data Source →

Was this article helpful to you?
Provide feedback

Edit this page

On this page

  1. Input Variables

  2. Environment Variables