Backend setup

Create python3 virtualenv

python3 -m venv env
source env/bin/activate # you need to run this before running any python commands

Install dependencies

pip install -r requirements.txt

Init db

start python interpreter

from backend.init_db import init_db
init_db()

Start backend server

python backend/application.py

Changes to backend code are auto reloaded.

Frontend setup

Build packages

npm install

Start webpack dev server

In a different command line window

npm run start

Changes to frontend code are auto reloaded.

Testing

Graphql query explorer: http://localhost:5000/graphql

Homepage: http://localhost:5000 Screenshot

Recommanded readings