295b_final_project
Project Elevator Pitch:
https://drive.google.com/file/d/159rZh6kgM-dnhf5xD9bBuveTxRR6WMKB/view
Project Presentation & Demo:
https://drive.google.com/file/d/16f6ENhTCvWrFpmI0MC_VFvgXkIklQRU_/view
Repo for Master's Final Project for stress management application
To setup Flask backend & install libraries for ML Models:
- cd backend/ml_models/music (make sure you have python 3.9 installed)
- create a virtual env: python -m venv venv
- Activate that env: source venv/bin/activate (for mac/linux) and by using: venv\Scripts\activate (windows)
- Install the required libraries using pip and requirements.txt: pip install -r requirements.txt
- To run the flask app on port 5000, run this command: python app.py
For developers - run pip freeze > requirements.txt to store new installed libraries in requirements.txt
To setup and start node.js based backend: (make sure you have node and npm installed)
- cd into backend location using: cd backend
- Install all the packages using: npm install
- Start the backend on port 3001: npm start
- if you face any issues with starting the backend, run this command: npm audot fix --force
To setup and start react based frontend:
- cd into frontend location using: cd frontend
- Install all the packages using: npm install --force
- Start the backend on port 3000: npm start
- if you face any issues with starting the backend, run this command: npm audot fix --force