/graphql-oreilly-getting-started

https://learning.oreilly.com/videos/rethinking-rest-a/9780135381434/9780135381434-RRLL_01_04_03

Primary LanguageJavaScript

Rethinking REST

A hands-on guide to GraphQL and queryable APIs

Client

Requires a modern browser capable of running ES6 JavaScript

Node server

Requires Node >= 8.9

Before the class

  1. In your terminal, navigate to the node_server/project folder

  2. npm install to install libraries

  3. npm start to run

knex seed:run to reset seed data

Django server

Requires Python 3.6 and Pipenv.

pip install pipenv if you don't already have Pipenv

Before the class

  1. In your terminal, navigate to the django_server/project folder

  2. pipenv --python 3.6 to create virtual environment

  3. pipenv install to install libraries

  4. pipenv shell to activate the virtual environment

  5. python manage.py runserver to run

python manage.py loaddata users books to reset seed data