Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Ben Wilson, Bruce Williams
Craft GraphQL APIs in Elixir with Absinthe
 Acknowledgements
 Introduction
About This Book
About the Code
Online Resources
Part I. Build a GraphQL API
1. Meet GraphQL
On the Client
On the Server
Absinthe and the Tech Stack
Moving On
2. Building a Schema
Preparing the Application
Our Schema Module
Making a Query
Running Our Query with GraphiQL
Testing Our Query
Moving On
3. Taking User Input
Defining Field Arguments
Providing Field Argument Values
Using Enumeration Types
Modeling Input Objects
Marking Arguments as Non-Null
Creating Your Own Scalar Types
Moving On
4. Adding Flexibility
Organizing a Schema
Understanding Abstract Types
Using Named Fragments
Moving On
5. Making a Change with Mutations
Defining a Root Mutation Type
Building the Resolver
Handling Mutation Errors
Moving On
6. Going Live with Subscriptions
Setting Up Subscriptions
Event Modeling
Submitting Subscriptions
Testing Subscriptions
Subscription Triggers
Moving On
Part II. Publish Your API
7. Resolution Middleware
Our First Module
Applying Middleware
Setting Defaults
Moving On
8. Securing with Authentication and AuthorizationSecuring with Authentication and Authorization
Logging In
Using the Execution Context
Securing Fields
Structuring for Authorization
Moving On
9. Tuning Resolution
Understanding the Problem
Using Built-in Plugins
Discovering Dataloader
Moving On
Part III. Use Your API
10. Driving Phoenix Actions with GraphQL
Building an Action
Handling Input
Complex Queries
Moving On
11. Integrating with the Frontend
Starting Simple
Choosing a Framework
Using Apollo Client
Using Relay
Wrapping Up
A1. GraphQL Types
Object
InputObject
Enum
Interface
Union
Scalar Types
Special Types
 Bibliography
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Craft GraphQL APIs in Elixir with Absinthe
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset