Accompanying code for my talk
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
database
schema
services
.gitignore
.sequelizerc
README.md
docker-compose-dev.yml
index.js
package.json
query-samples.gql

README.md

Requirements

  • Node
  • npm
  • MySQL

MySQL with Docker

If you have Docker installed you can run

docker-compose -f docker-compose-dev.yml up

Running the project

Install

npm install

Configure

The project demos some external GraphQL calls to GitHub that will require a token. You can generate here https://github.com/settings/tokens and configure it inside services/config.js

Start

npm start

Open

GraphQL (and GraphiQL) will start at http://localhost:4000/graphql

Queries

You can find some example queries inside query-samples.gql