- python 3.6+
- pip
- Initialise the database from the DB.sql file. Your MySQL password and users should match config.py
- git clone https://github.com/robertszafa/api.moodportfolio.git
- cd api.moodportfolio
- pip install -r requirements.txt
** it's recommended but not necessary that you install and run the whole thing in a virtualenv
- python server.py
- API endpoints are under /resources
- if you create a new API endpoint, you have to also include it in server.py
- if you install any new dependencies, update the requirements file with pip freeze > requirements.txt
- confirm email & reset password endpoints won't work on eduroam if you test it on your localhost