qmetrics.net

Absinthe

GraphQL toolkit for Elixir applications

Absinthe brings a full GraphQL implementation to Elixir. Teams use it to define schemas, run queries, and expose APIs from Phoenix or Plug apps.

Overview

Absinthe is a GraphQL implementation aimed at Elixir developers who want an idiomatic, readable API for building and serving GraphQL. Schemas are defined with macros that are checked at compile time, which the project says helps catch structural mistakes early and supports steady runtime behavior.

The query pipeline is configurable: parsers, validations, and resolution steps can be added, swapped, or removed, including on a per-document basis. Resolution supports asynchronous fields, batched loading to ease N+1 query patterns, and a plugin model for further extension.

Safety features include complexity analysis with configurable limits and options around precompiled versus ad hoc documents. Schemas can be written in snake_case Elixir style while responses can be exposed in camelCase for clients, or via a custom adapter.

Backend integrations highlighted in the material include Phoenix and Plug, with additional frontend-oriented support for Relay alongside other GraphQL clients. The package is installed from Hex and includes Mix tasks for schema metadata.

Key features

  • Compile-time schema macros
  • Configurable query pipeline
  • Asynchronous field resolution
  • Batched field resolution
  • Complexity analysis and limits
  • Snake_case to camelCase schema naming
  • Phoenix and Plug backend support
  • Relay frontend integration

Use cases

  • GraphQL APIs on Elixir
  • Phoenix application APIs
  • Relay-compatible GraphQL services
  • Custom GraphQL validation pipelines

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT