LakeQL
Overview
  • Introduction
Server Setup
  • createApiServer
  • defineConfig
  • Yoga Configuration
Authentication
  • JWT Authentication
  • Permissions
  • Scope Authorization
Schema Builder
  • Builder Configuration
  • Scalar Types
  • Comparison Types
  • Pagination
  • Input Validation
Customization
  • Custom Queries & Mutations
  • Extending Core
  • CORS Configuration
GitHub
LakeQL
  1. API
  2. Server Setup

Server Setup

Create and configure the LakeQL API server with defineConfig, createApiServer, and startApiServer.

createApiServer

Create a configured Hono application with GraphQL Yoga integration, CORS, and logging middleware.

defineConfig

Type-safe configuration wrapper that provides createYogaServer and startServer methods.

Yoga Configuration

Customize GraphQL Yoga options like GraphiQL, error masking, logging, and landing page.

Previous page

Introduction

Next page

createApiServer