Skip to content

🚦 API Gateway

Acai simplifies API Gateway handlers by combining a pattern-based router, middleware pipeline, and validation utilities.

✨ Key Features

  • Unified glob resolver (handlerPath or handlerPattern) with support for dynamic segments
  • Built-in OpenAPI validation for requests and responses
  • Composable middleware hooks at both application and endpoint levels
  • First-class support for CORS, binary payloads, and gzip compression
  • Works equally well for REST or GraphQL style APIs

Continue to Router Setup to get started.