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

Sebastian Grebe

  • 出版商: Packt Publishing
  • 出版日期: 2019-01-31
  • 售價: $1,581
  • 貴賓價: 9.5$1,502
  • 語言: 英文
  • 頁數: 468
  • 裝訂: Paperback
  • ISBN: 1789134528
  • ISBN-13: 9781789134520
  • 相關分類: Web API DesignReactJVM 語言

立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

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