BEPI - BEP's API : https://api.bepolytech.be/docs
Built with FastAPI (Python)
API token required for PUT requests (by ESP8266?)
Uses slowapi for rate-limiting (120/min)
https://hub.docker.com/r/bepolytech/bepi
docs available at https://api.bepolytech.be/docs (or https://api.bepolytech.be/redoc)
setup a .env
file in /app (using the provided .env_template
file).
then either
- install pip requirements, then
cd
into /app and runuvicorn main:app --reload
(--reload to hot-reload during dev), - or use docker (with provided docker-compose.yml file), run
docker-compose up -d
.
MIT