Build Robust, Safe, and Flexible APIs with GraphQL
GraphQL changed the way data is transferred between applications.
As you will work through this book, we hope you won't just add GraphQL to your toolbox, but also develop a new way of thinking about data models, APIs, and full-stack development.
GraphQL - and it's huge ecosystem - give you tools to create and consume flexible, easy-to-use, type-safe APIs.
Usage Driven: It encourages users to define queries that specify what data to fetch in a granular way.
Intuitive: GraphQL delivers you only the data that you request, in the exact format that you requested
Self-descriptive: GraphQL schemas are strongly typed and define a strict contract between a query and its response.
GraphQL embodies many lessons learned from API design that enforces several best practices into one solution, and in Fullstack GraphQL we show you how to use these tools with practical code-driven examples.
What's in the book
Fullstack GraphQL is the busy engineer's guide to building real-world GraphQL servers and clients with examples in Node.js, React, TypeScript, and Apollo.
- Why GraphQL?1
- Comparison vs. REST APIs
- Hello GraphQL2
- Using the Playground
- First GraphQL Queries
- Basic GraphQL App Clients3
- GraphQL in Node.js
- GraphQL in React
- Apollo Client and React4
- Setting up Apollo
- React Apollo Hooks
- Typescript and GraphQL5
- Building queries and mutations
- GraphQL Server and Databases6
- Handling pagination
- Mutation resolvers
- Caching and batching7
- Optimized queries
- Batching with DataLoader
- TypeORM and TypeGraphQL8
- Setting up the ORM
- Writing resolvers
- Authentication and Authorization9
- Using JWT
- Resolver authentication
Purchase the book today
- 📕 PDF, EPub, and Mobi
- 👩💻 Completed code
What happens after I buy the book?
If you subscribe to newline Pro you'll be able to read Fullstack GraphQL and a dozen other books online. If you buy through Gumroad, you'll also receive an email from Gumroad giving you instructions on how to download it.
Is the book complete?
Are there free updates?
Yes! Buying now entitles you to free updates for at least one year after purchase
How do I download the book and updates?
What if I don't like it?
If you're unhappy with the book for any reason, just reach out to us and we'll give you a full refund. There's no risk.