Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 4.99 KB

README.md

File metadata and controls

80 lines (62 loc) · 4.99 KB

xoom-graphql-workshop

PRs Welcome Watch on GitHub Star on GitHub Tweet

In this session, we will build a GraphQL server based on the Movie DB REST API.

Running on CodeSandbox

Edit graphql-server-workshop

  1. Click the button above to navigate to the CodeSandbox. Fork it to your account by clicking Fork in the top menu.
  2. That's it! CodeSandbox features HMR, a console, and a test runner. It's pretty awesome. 😍 If you see an error message, don't worry - it's because we haven't built our server yet.

Running the app locally

  1. Ensure you're using at least node@8 and npm@5
  2. Clone, install, and run the server
$ git clone https://github.com/mstuart/xoom-graphql-workshop.git
$ cd xoom-graphql-workshop
$ npm install

To get the app up and running (and really see if it worked), run:

$ npm start
$ open http://localhost:4000

Branches

If you get stuck at any time, click the sandbox for the exercise you want and fork it. Most steps have a solution branch.

Helpful links

Running locally

  1. Clone the repo: git clone https://github.com/mstuart/xoom-graphql-workshop
  2. Install the dependencies: npm i
  3. Start the server: npm start. Your server will be running on port 4000. Your GraphQL server is available at localhost:4000/graphql and your GraphQL Playground is available at localhost:4000/graphql.