We recommend installing the required libraries in a venv/conda environment, it is however not necessary to do so.
You will need two terminal windows, one two run the backend and one to run the frontend.
To run the backend:
- Install FastAPI:
pip install fastapi - Install Uvicorn:
pip install "uvicorn[standard]" - Navigate to the backend folder
- Run
uvicorn main:app --reload, you will know when the backend is running when you seeApplication startup completein the terminal.
To run the frontend:
- Download the appropriate Node.js installer for laptop using https://nodejs.org/en/download/
- Follow the directions to install npm on your laptop
- Install React:
npm install -g create-react-app - Install axios:
npm install axios - Install @mui/material:
npm install @mui/material - Install @mui/icons-material:
npm install @mui/icons-material - Install react-router-dom:
react-router-dom - Run
npm startto start up the project, you will know when the frontend is running when a browser opens up for you adn you can se the website.