Tiny python fast-api application to receive IP address from my esp32cam module
To install all required pip packages and make a virtual env just run make install:
make install
mkdir -p python_env; \
python3 -m venv python_env; \
. python_env/bin/activate; \
python3 -m pip install --upgrade pip; \
python3 -m pip install -r requirements.txt; \
python3 -m pip install -r requirements-test.txt
Run the included tests like so:
make test
Also get test coverage report:
make coverage
This is best way to run as it accepts external requests (not only on localhost)
make server
make dev