Hands-On Full-Stack Web Development with GraphQL and React Front Cover

Hands-On Full-Stack Web Development with GraphQL and React

  • Length: 468 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2019-01-31
  • ISBN-10: 1789134528
  • ISBN-13: 9781789134520
  • Sales Rank: #1238888 (See Top 100 Books)
Description

Hands-On Full-Stack Web Development with GraphQL and React: Build scalable full-stack applications while learning to solve complex problems with GraphQL

Unearth the power of GraphQL, React, Apollo, Node, and Express to build a scalable, production ready application

Key Features

  • Build full stack applications with modern APIs using GraphQL and Apollo
  • Integrate Apollo into React and build frontend components using GraphQL
  • Implement a self-updating notification pop-up with a unique GraphQL feature called Subscriptions

Book Description

React, one of the most widely used JavaScript frameworks, allows developers to build fast and scalable front end applications for any use case. GraphQL is the modern way of querying an API. It represents an alternative to REST and is the next evolution in web development. Combining these two revolutionary technologies will give you a future-proof and scalable stack you can start building your business around.

This book will guide you in implementing applications by using React, Apollo, Node.js and SQL. We’ll focus on solving complex problems with GraphQL, such as abstracting multi-table database architectures and handling image uploads. Our client, and server will be powered by Apollo. Finally we will go ahead and build a complete Graphbook. While building the app, we’ll cover the tricky parts of connecting React to the back end, and maintaining and synchronizing state. We’ll learn all about querying data and authenticating users. We’ll write test cases to verify the front end and back end functionality for our application and cover deployment. By the end of the book, you will be proficient in using GraphQL and React for your full-stack development requirements.

What you will learn

  • Resolve data from multi-table database and system architectures
  • Build a GraphQL API by implementing models and schemas with Apollo and Sequelize
  • Set up an Apollo Client and build front end components using React
  • Use Mocha to test your full-stack application
  • Write complex React components and share data across them
  • Deploy your application using Docker

Who this book is for

The book is for web developers who want to enhance their skills and build complete full stack applications using industry standards. Familiarity with JavaScript, React, and GraphQL is expected to get the most from this book.

Table of Contents

  1. Preparing Your Development Environment
  2. Setting up GraphQL with Express.js
  3. Connecting to The Database
  4. Integrating React into the Backend with Apollo
  5. Reusable React Components
  6. Authentication with Apollo and React
  7. Handling Image Uploads
  8. Routing in React
  9. Implementing Server-Side Rendering
  10. Real-Time Subscriptions
  11. Writing Tests
  12. Optimizing GraphQL with Apollo Engine
  13. Continuous Deployment with CircleCI and Heroku
To access the link, solve the captcha.