- Requires python 3.6+
- Using a virtual environment is recommended (I think that pycharm does it for you). See https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/ to learn how to make your virtual enviorment and how to activate it.
- Navigate to the backend folder
- Run
pip3 install -r requirements.txt
in order to install the required libraries.
To run the backend server run the following command uvicorn main:app --reload
To make sure that the user authentication works, run the command openssl rand -hex 32
in a terminal window. It will generate a secure secret key, which needs to be pasted on the SECRET_KEY constant in loginsecurity.py.
Generally the node_modules folder (which contains all the packages for the project) is ignored in github because it contains a lot of packages, so you will have to install the packages locally. In order to do that, get Node.js (if you don't have it) for the npm (node package manager), then access the repo via the Command Prompt, and do "npm install". This will install all the packages. After that, do this other command "npm start".