Craft GraphQL APIs in Elixir with Absinthe: Flexible, Robust Services for Queries, Mutations, and Subscriptions

Book Description

Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, leveraging its flexible queries to empower your users, and its declarative structure to simplify your . Absinthe is the GraphQL toolkit for Elixir, a functional designed to enable massive concurrency atop robust application architectures. Written by the creators of Absinthe, this book will help you take full advantage of these two groundbreaking technologies. Build your own flexible, high-performance APIs using step-by-step guidance and expert advice you won't find anywhere else.

GraphQL is a new way of structuring and building web services, and the result is transformational. Find out how to offer a more tailored, cohesive experience to your users, easily aggregate data from different data sources, and improve your back end's maintainability with Absinthe's declarative approach to defining how your API works.

Build a GraphQL-based API from scratch using Absinthe, starting from core principles. Learn the type system and how to expand your schema to suit your application's needs. Discover a growing ecosystem of tools and utilities to understand, debug, and your API. Take it to production, but do it safely with solid best practices in mind. Find out how complexity and persisted queries can let you support your users flexibly, but responsibly too. Along the way, discover how Elixir makes all the difference for a high performance, fault-tolerant API. Use asynchronous and batching execution, or write your own custom add-ons to extend Absinthe. Go live with subscriptions, delivering data over websockets on top of Elixir (and /OTP's) famous solid performance and real-time capabilities.

Transform your applications with the powerful combination of Elixir and GraphQL, using Absinthe.

What You Need:

To follow along with the book, you should have Erlang/OTP 19+ and Elixir 1.4+ installed. The book will guide you through setting up a new Phoenix application using Absinthe.

Table of Contents

Part 1 Build a GraphQL API
Chapter 1: Meet GraphQL
Chapter 2: Building a Schema
Chapter 3: Taking User Input
Chapter 4: Adding Flexibility
Chapter 5: Making a Change with Mutations
Chapter 6: Going Live with Subscriptions
Part 2: Publish Your API
Chapter 7: Resolution Middleware
Chapter 8: Securing with Authentication and?Authorization
Chapter 9: Tuning Resolution
Part 3: Use Your API
Chapter 10: Driving Phoenix Actions with GraphQL
Chapter 11: Integrating with the Frontend
Appendix 1: GraphQL Types

Book Details

  • Title: Craft GraphQL APIs in Elixir with Absinthe: Flexible, Robust Services for Queries, Mutations, and Subscriptions
  • Author: ,
  • Length: 304 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2018-04-06
  • ISBN-10: 1680502557
  • ISBN-13: 9781680502558
File HostFree Download LinkFormatSize (MB)Upload Date
UsersCloud Click to downloadEPUB506/12/2018
UsersCloud Click to downloadTrue PDF, EPUB9.706/18/2018
How to Download? Report Dead Links & Get a Copy

Leave a Reply