Running GraphiQL

Learn GraphiQL, how to run GraphiQL server, and how to execute queries in a GraphiQL server.

We'll cover the following

GraphiQL

GraphiQL is an in-browser IDE for exploring GraphQL. To make things easy for the user, Absinthe integrates with the three following versions of GraphiQL:

  • The official interface
  • The advanced version
  • The GraphQL playground

All three are built into the absinthe_plug package and are ready to go with just a little configuration. The absinthe_plug dependency is already in our mix.exs file from the initial setup, but we need to configure the Phoenix router to use it. Replace the existing "/" scope with the following block:

Get hands-on with 1200+ tech skills courses.