Welcome to GraphQL Elixir!

A better way to build blazing fast APIs.

Hello World Example

This is the simplest possible schema definition with a single entry point working against hard-coded values.

Simple Blog Example

A simple schema definition with a variety of data types.

Hint: Try out the auto-complete of the queries and explore the documentation!

Simple Ecto Example

A variant of the Hello World schema definition using an Ecto-driven PostgreSQL datastore.

Star Wars Example

A more complex schema containing Enum types and Interfaces. Data is stored in memory.

Note the use of type introspection using the `__typename` field.


  • GraphQL Plug Hex Package
  • GraphQL Plug Docs
  • GraphQL Plug Source
  • GraphQL Core Hex Package
  • GraphQL Core Docs
  • GraphQL Core Source
  • GraphQL Spec


  • Erlang channel on the GraphQL Slack