Introduction to GraphQL and Apollo Client with React

SCRPT-182 (3 Days)

Request Pricing

GraphQL Training Overview

GraphQL is a data query language that is rapidly becoming a popular alternative to REST. In this Introduction to GraphQL and Apollo Client with React training,  attendees master writing GraphQL queries and mutations, as well as how to use the Apollo Client, a leading GraphQL client. 

Location and Pricing

Most Accelebrate courses are taught as private, customized training for 3 or more attendees at our clients' sites worldwide. In addition, we offer live, private online classes for teams who may be in multiple locations or wish to save on travel costs. Please visit our client list for organizations for whom we have delivered onsite training. To receive a customized proposal and price quote for private on-site or online training, please contact us.

GraphQL Training Objectives

All students will:

    • Understand the role and purpose of GraphQL Types, and how those types are used together
    • Write GraphQL queries and mutations, as well as leverage introspection to determine the schema of the server
    • Execute GraphQL queries from JavaScript code using the fetch API
    • Utilize the Apollo Client library to execute GraphQL queries and mutations

GraphQL Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
  • What is GraphQL?
  • GraphQL compared to REST Services
  • Apollo compared to Flux, Redux, and Relay
  • Benefits of GraphQL
  • Benefits of Apollo Client, Server and Engine
GraphQL Types and Server Configuration
  • Scheme, Object, Scalar, & List Types
  • Interface Types
  • Understanding Fields, Arguments and Resolve
GraphQL Queries
  • Using the GraphQL web-based client for making queries and exploring documentation
  • Querying connected nodes on the graph, and exploring how that works.
  • Passing arguments into queries.
  • Renaming a field with aliasing.
  • Breaking a large query into fragments.
  • Nesting many fragments.
  • Exploring Apollo GraphQL Client Requests with Tooling
GraphQL Mutations
  • Explore Mutation Queries and Input Types
  • Execute Mutation Queries with Variables
  • Structuring Mutation Query Results
  • Configuring Mutations with Apollo Client
  • Store Updates, Optimistic Responses
  • Handling Error from Failed Mutations
Additional GraphQL Topics
  • Enum, Union, Interface Types
  • Inline Fragments
  • Directives
  • Introspection Queries
  • Pre-fetching Data
  • Subscriptions
Connecting to React
  • Using the web browser fetch API to connect to a GraphQL server
  • Using Google Chrome extensions to examine GraphQL queries
  • Migrate an existing React application from REST Services to GraphQL
Connecting to React using Apollo Client
  • Setting up the Apollo Networking Environment
  • Using the Apollo Provider to connect GraphQL to React
  • Co-locating the GraphQL Query with the React component
  • Containers with GraphQL function and decorator
  • Container Config API
  • Container with Query API
Conclusion
Request Pricing

Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

SCRPT-182

Duration:

3 Days

Prerequisites:

Students should have extensive experience in developing React components and extensive coding experience with Modern JavaScript (ES2017 and later).

Training Materials:

All GraphQL students receive comprehensive courseware.

Software Requirements:

  • JavaScript-aware IDE such as WebStorm or Visual Studio Code; a JavaScript-aware text editor would also suffice
  • Docker
  • Related lab files that Accelebrate provides

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Baton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.