Name: gql-workshop-app
Owner: Formidable
Description: Real World GraphQL
Created: 2018-02-28 14:03:12.0
Updated: 2018-03-20 16:04:05.0
Pushed: 2018-03-18 15:19:14.0
Size: 194
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a workshop repo to teach you about GraphQL.
Table of Contents
Server
Apollo Client
There is way more that we could cover, time permitting, but this is broadly what we'll be focussing on. Depending on the flow of the day, we may have more or less time available and the material will adjust to suit.
You may notice a number of tags and branches peppered throughout the supporting repo. The workshop steps are tagged such that, if needed, we can skip through to completed examples. The required tag will be documented at the beginning of each section.
All of these must be available in your PATH
. To verify things are set up
properly, you can run this:
--version
--version
--version
If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.
Once you've verified that your system is setup correctly. Go ahead and clone our workshop project.
clone https://github.com/imranolas/moviedb.git
oviedb
You should see 2 folders:
server
client
Each folder contains a package.json
and will require a yarn install
to be run in the package root.
To get the app up and running, run yarn start
in both roots.
This will start the GQL server, and the client server in development mode.
This app is based on the The MovieDB API. It consists of a GraphQL service that wraps the MovieDB API and serves it to the React client app. This is the completed example but we will be starting from a minimal bootstrapped starting point via git tag.