-
Activate a virtual environment
-
Install dependencies with pip
-
Install sample data in
./install_database.py
-
Run server
./server.py
-
Test service at http://127.0.0.1:5000/
{ allEmployees { edges { node { name hiredOn department { name } } } } }
{ department(id:"RGVwYXJ0bWVudDox"){ id name employees { edges{ node { name hiredOn } } } } }
- Pylint
pylint flask-graphql
- Nose Unit Tests
nosetests tests/