/movie-database-graphql

Minimal demo GraphQL server that wraps a small part of the movie database

Primary LanguageJavaScript

The Movie Database GraphQL wrapper

This is a super simple wrapper of the REST API for The Movie Database to convert it to GraphQL.

Check out the live API hosted on Heroku.

Expanded example from @agustif

@agustif has expanded this example and added a lot of different kinds of data! Check it out here: agustif/movie-database-graphql

Running the app

You'll need two API keys:

  1. themoviedb.org API key
  2. Apollo Engine API key

Run the app with:

npm install
TMDB_API_KEY=<key 1> ENGINE_API_KEY=<key 2> npm start

Docs

To learn about what's going on, check out the docs for the tools and libraries used:

  1. Apollo Server
  2. Apollo Engine