rethinking-rest icon indicating copy to clipboard operation
rethinking-rest copied to clipboard

A repository for Safari Online live-training - Intro to GraphQL

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 or higher.

Before the class

  1. In your terminal, navigate to the django_server/project folder
  2. Create and activate a virtual environment (optional, but recommended). If you need help, follow this video or this tutorial.
  3. pip install -r requirements.txt
  4. python manage.py runserver to run

python manage.py loaddata users books to reset seed data