Getting Started
We'll be building a very basic GraphQL API for a blog, written in Elixir using Absinthe.
Background
Before you start, it's a good idea to have some background into GraphQL in general. Here are a few resources that might be helpful:
- The official GraphQL website
- How to GraphQL (this includes another brief tutorial using Absinthe)
The Example
The tutorial expects you to have a properly set-up Phoenix application with <a href="https://hex.pm/packages/absinthe">absinthe</a> and <a href="https://hex.pm/packages/absinthe_plug">absinthe_plug</a> added to the dependencies.
If you'd like to cheat, you can find the finished code for the tutorial in the <a href="https://github.com/absinthe-graphql/absinthe_tutorial">Absinthe Example</a> project on GitHub.
First Step
Let's get started with our first query!