git clone [email protected]:digital-peace-talks/polarizer-backend.git
cd polarizer-backend
python3 -m venv ./venv
. ./venv/bin/activate
pip install -r requirements.txt
export PYTHONPATH=$(pwd)
flask --app rest/server run -p 4080
http :4080/register_session
http ':4080/<session_id>/layout'
http ':4080/<session_id>/edge?left=33&right=39'
dissent : 0 to 10
respect: -5 to 5
http ':4080/<session_id>/update?left=33&right=39&dissent=1&respect=3'
http ':4080/<session_id>/update' left=33 right=39 dissent=1 respect=3
http ':4080/<session_id>/update_svg?left=33&right=39&dissent=1&respect=3'
(Sorry for the brevity :))