An IoT API designed to manage custom ESP-32 connected devices using Google Home integration.
Run the automated setup script to generate your local environment variables (.env) and a customized Docker Compose file (which includes a Traefik reverse proxy):
# To generate local .env file and local docker-compose file (with self traefik RP)
./setup
# To generate local .env file and local docker-compose file on remote server (without self traefik RP)
./setup remoteNext, install your Python development environment and dependencies :
# To install Python dependencies
uv sync --devInitialize and run the codebase linters to maintain code quality :
# To initialize codebase linters
uv run pre-commit install
# To run codebase linters
uv run pre-commit run -aUse the following commands to control your local API instance using Docker Compose:
# To build Docker images
docker compose build
# To start API server in the background
docker compose up -d
# To rebuild and apply recent file changes
docker compose up -d --build
# To stop and shut down the API server
docker compose down
# To see and follow API service logs in real-time
docker compose logs -f api