Skip to content

bepolytech/bepi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API server for the local, like the door open status

Built with FastAPI (Python)
API token required for PUT requests (by ESP8266?)
Uses slowapi for rate-limiting (120/min)

Docker : from version 1.2.0, uses the alpine variant of python base image.

https://hub.docker.com/r/bepolytech/bepi

Docs

docs available at https://api.bepolytech.be/docs (or https://api.bepolytech.be/redoc)

Run

setup a .env file in /app (using the provided .env_template file).
then either

  • install pip requirements, then
    cd into /app and run uvicorn main:app --reload (--reload to hot-reload during dev),
  • or use docker (with provided docker-compose.yml file), run docker-compose up -d.

License

MIT

by PLucas 🚀

About

BEP API server (pronounced BÈ-P-I)

Resources

License

Stars

Watchers

Forks

Releases

No releases published