/ML

Primary LanguagePython

ML

Installation Instructions

Azure Functions require Python 3.9.x

Installation

Hint: You may need to run terminal as administrator

pip install virtualenv
virtualenv venv --python=python3.9.13
. venv/Scripts/activate
pip install -r requirements.txt

cd backend cp .env.example .env update the .env file

cd frontend npm i npm run dev

Testing

To run all the tests:

(venv) $ python -m pytest -v

To check the code coverage of the tests:

(venv) $ python -m pytest --cov-report term-missing --cov=project


```bash
backend
│   README.md
│   app.py

└───project
│   │   __init__.py
│   │   function.json
│   │
│   └───routes
│       │   __init__.py
│       │   home.py

└───HandleApproach
    │   __init__.py
    │   function.json