This application is designed to run in a container and be able to be to get / update a status that will be displayed on a magic mirror.
The following will run to install the requirements:
pip install -r ./app/requirements.txt
To confirm run the following:
pip list
The following command will run the app in the devcontainer:
python3 ./app/status-api.py
This command will execute a post to create a status message:
curl -X POST http://127.0.0.1:5000/api/status -H "Content-Type: application/json" -d '{"status_message":"test"}'
This command will retrieve the status:
curl -X GET http://127.0.0.1:5000/api/status