This backend is created using flask and is still in development and for local testing.
Installing virtual environment
On macOS and Linux
python3 -m pip install --user virtualenv
on Windows
py -m pip install --user virtualenv
Creating a virtual environment
On macOS and Linux
python3 -m venv env
on Windows
py -m venv env
Activating a virtual environment
On macOS and Linux
source env/bin/activate
on Windows
.\env\Scripts\activate
Installing the packages
pip3 install -r requirements.txt
Running the application
python app.py
For sending email in /inviteRole For testing locally, you will have to change the host IP in app.py (line 392) to your PC's static ip. You will have to do some custom adjustments in helpers.py as well. Refer to this video for what to fill in for the send emails in helpers.py.
Firebase project Replace the key.json with your own from Firebase.