Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 874 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 874 Bytes

Hyperschedule API with GraphQL

This repository contains an experimental web service which, if completed, would replace the existing API.

Setup Instructions

  • Clone the repo git clone REPO_URL
  • cd hyperschedule-api
  • Install pipenv if you don't already have it with pip install pipenv
  • Set up a python 3 venv with pipenv --python 3.6
  • Activate the virtualenv with pipenv shell
  • Install dependencies with pipenv install
  • run the server with python app.py

Testing

download the courses json file to data.json in the main directory access the api at localhost:5000/graphql

Queries

currently supported queries are

query{allClasses{edges{node{name}}}}

query{allProfessors{edges{node{name}}}}

Play around with what values you return for each Class or Professor