View Source 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 absinthe and absinthe_plug added to the dependencies.
If you'd like to cheat, you can find the finished code for the tutorial in the Absinthe Example project on GitHub.
First Step
Let's get started with our first query!