Skip to content

lnmunhoz/react-apollo-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-apollo-workshop

Official Workshop for the GraphQL Asia conference.

Goal

Learn the the fundamentals of how to integrate a React application with real world GraphQL API's.

⛏️ What we are going to build?

An applications where the user can:

  • Search for github repositories
  • See the number of stars, avatar and owner of the repositories
  • Star and Unstar repositories

application preview

🔮 What I am going to learn?

  • How to setup the Apollo Client to make requests to the Github API
  • How to use the react-apollo library to send queries and mutations
  • How the Apollo Cache works and how to visualize it's data
  • How to update the cache after we get a responses from API calls
  • How we use optimistic updates to improve user experience

💻 Requirements

👍 Nice to have

⚙️ Extensions for VSCode

🏁 Get Started

Open a terminal

Fork and clone this repository

git clone https://github.com/${you}/react-apollo-workshop

Navigate to the app-starter folder

cd react-apollo-workshop/app-starter

Install dependencies

npm install

Start the app

npm start

Learn more

License

MIT