Giter Site home page Giter Site logo

gql-workshop-app's Introduction

Real World GraphQL Workshop

This is a workshop repo to teach you about GraphQL.

Table of Contents

Topics covered

Server

  1. Schema Definition Language
  2. GraphQL types
  3. Resolvers
  4. Enums
  5. Scalars
  6. DataLoader
  7. Mutations

Apollo Client

  1. Basic queries
  2. Fragments
  3. Pagination
  4. Auth
  5. Mutations

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.

Branches & Tags

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.

System Requirements

All of these must be available in your PATH. To verify things are set up properly, you can run this:

git --version
node --version
yarn --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.

Setup

Once you've verified that your system is setup correctly. Go ahead and clone our workshop project.

git clone https://github.com/imranolas/moviedb.git
cd moviedb

You should see 2 folders:

  1. server
  2. client

Each folder contains a package.json and will require a yarn install to be run in the package root.

Running the app

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.

About the app

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.

gql-workshop-app's People

Contributors

imranolas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.