/
Chapter 11: Server Dev
Chapter contents:
Introduction
Why build a GraphQL server?
What kind of GraphQL server should I build?
Building
Project setup
Types and resolvers
Authentication
Data sources
Setting up
File structure
Creating reviews
Custom scalars
Creating users
Protecting with secret key
Setting user context
Linking users to reviews
Authorization
Errors
Nullability
Union errors
formatError
Logging errors
Masking errors
Error checking
Custom errors
Subscriptions
githubStars
reviewCreated
Testing
Static testing
Review integration tests
Code coverage
User integration tests
Unit tests
End-to-end tests
Production
Deployment
Options
Deploying
Environment variables
Database hosting
MongoDB hosting
Redis hosting
Redis PubSub
Redis caching
Querying in production
Analytics
Error reporting
More data sources
SQL
SQL setup
SQL data source
SQL testing
SQL performance
REST
GraphQL
Custom data source
Extended topics
Mocking
Pagination
Offset-based
Cursors
after an ID
Relay cursor connections
File uploads
Client-side
Server-side
Schema validation
Apollo federation
Hasura
Schema design
One schema
User-centric
Easy to understand
Easy to use
Mutations
Arguments
Payloads
Versioning
Custom schema directives
@tshirt
@upper
@auth
Subscriptions in depth
Server architecture
Subscription design
Security
Auth options
Authentication
Authorization
Denial of service
Performance
Data fetching
Caching
Future
Edit on GitHub
Previous
Flow
Next
Introduction
Core
Apollo Basics
Apollo Client
React / JS
iOS
Android
Backend
Apollo Server
Apollo Federation
Tools
Apollo Studio