Do you want to create a GraphQL API with Elixir?

Here are all the resources you need to get started.

A 🧵

#MyElixirStatus #graphql #elixir
Absinthe GraphQL

@absinthegraphql is THE GraphQL library you want to use. It is an amazing toolkit that implements the GraphQL specification in an idiomatic Elixir style.

absinthe-graphql.org
Absinthe allows you to define schemas:

- define the data entities, queries, mutations, and subscriptions
- supports custom scalars
- allows deprecating definitions
Absinthe allows you to parse and evaluate documents:

- can execute any query, mutation, or subscription
- allows variable definitions
- supports complexity analysis
- support introspection
It also gives you a cool graphical interface to explore the API: graphiql screenshot of graphiql's interface
You can start learning it from the creator of Absinthe, Ben Wilson, here:

howtographql.com/graphql-elixir…
Or you can get the book that Bruce Williams and Ben Wilson wrote about it:

pragprog.com/titles/wwgraph…
There are more tutorials if you want to dig deeper, like this one from @diamondgfx

timber.io/blog/a-gentle-…
This one talks about authentication and authorization, from @scottybytesback

shamil614.github.io/programming/20…
The official documentation is here:

hexdocs.pm/absinthe/insta…
And here is the github repository:

github.com/absinthe-graph…
That's it.

Bookmark this thread for reference.
Retweet the first tweet to help me reach more people.
Follow me or subscribe to my newsletter to get tips about Elm, Elixir, and writing eBooks

getrevue.co/profile/miguel…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Miguel Cobá

Miguel Cobá Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MiguelCoba_

14 Sep
Ready to deploy Elixir to production? Do you know which options exist for deploying @elixirlang apps?

Let's explore the current landscape of #Elixir hosting:

A 🧵 👇🏽

#MyElixirStatus
Nodechef

Allows you to deploy from CLI, git, or bundle uploads. Multiregion support. Support for Let's Encrypt certificates.
Doesn't support releases, uses Buildpacks instead to control the deployment process.

nodechef.com/elixir-hosting
Gigalixir

Clustering support, hot upgrades, remote console, observers, GenServer, and ssh access to running instance. Let's Encrypt certificate support. Releases support. Regions support. Scaling support.

gigalixir.com
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(