Oreilly - GraphQL in Motion
by Tyler Reckart | Publisher: Manning Publications | Release Date: May 2019 | ISBN: 10000MNLV201723
This course is exactly what you need to understand and start using GraphQL. Carlos Curotto GraphQL in Motion gets you started building GraphQL-based APIs for new and existing web and mobile applications. Featuring expert presenter Tyler Reckart and dozens of high-quality video lessons, you'll practice as you go and start using what you learn immediately. GraphQL in Motion teaches you to use GraphQL to build easy-to-manage APIs that radically simplify communication between the components and services that make up a web application. You'll begin by learning how GraphQL fits into various application architectures, including how it compares to REST and other API styles. Following a series of examples, you'll learn to use the GraphQL syntax to write simple data-retrieval queries, dig into schema design, and tackle more advanced challenges like direct data manipulation and error handling. Along the way, you'll find exercises that encourage you to practice as you go so you'll be ready to take on the real world. In applications with many moving parts, it's a monumental task to keep track of which components and services are responsible for which data at any given time. GraphQL provides an abstraction layer through which you can request data from application services without knowing their underlying architecture. Developed by Facebook to simplify their internal APIs, GraphQL is now available as an open source tool you can use for your own web and mobile applications. Just like REST, GraphQL receives queries and returns resources; however, with GraphQL you can specify the resources you want in a single query without knowing anything about the way the servers are organized. Powerful, fast, and designed with modern development in mind, GraphQL-based systems are more flexible and developer-friendly than traditional REST-based architectures. Inside: When to use GraphQL Writing queries in GraphQL GraphQL schemas and resolvers Fetching and manipulating data Debugging and error handling Integrating GraphQL with existing JavaScript apps Learners should be familiar with full-stack web application designs, including RESTful services. Examples are in JavaScript. Tyler Reckart has been using GraphQL ever since its open-source debut in 2015. He's a software engineer at BoomTownROI, where he builds engaging experiences and tools that help real estate professionals acquire new leads and grow their businesses. It's a hands on bootcamp on setting up a GraphQL API. The pace is fast but you get through a lot of stuff and it rewards rewatching. Stephen Oates Really useful for setting foundations of GraphQL, with practical examples. Miguel Montalvo
- WHY GRAPHQL?
- Introduction 00:04:08
- GraphQL vs. REST 00:05:13
- GraphQL "Hello World" 00:05:27
- GRAPHQL SCHEMAS & RESOLVERS
- GraphQL schemas 00:05:15
- Queries 00:04:11
- Resolve functions 00:06:13
- Nodemon hookup 00:02:01
- Putting it all together 00:04:18
- FETCHING DATA WITH QUERIES
- Nested queries 00:04:28
- Recursive relationships 00:07:40
- Circular references 00:08:57
- Fragments and aliases 00:04:21
- MANIPULATING DATA
- Mutations 00:08:42
- Connectors 00:11:42
- Authentication 00:13:35
- Data loaders 00:04:33
- Subscriptions 00:12:33
- Filtering and pagination 00:05:28
- DEBUGGING & TESTING
- Error handling 00:04:28
- Debugging with GraphQL 00:04:10
- Testing your API with Jest 00:04:50
- CONNECTING TO A CLIENT-SIDE APPLICATION
- Getting started with ReactJS 00:10:42
- Connecting to Apollo 00:06:24
- Unit testing connected components 00:04:51
- COURSE CONCLUSION
- Overview and recap 00:08:50
- What’s next? 00:01:54