Api

Fastapi Project Template

Project Template for FastAPI gave a try with a FastAPI Template, https://github.com/rochacbruno/fastapi-project-template.git Projectname: gugus1234 clone the repo git clone https://github.com/rochacbruno/fastapi-project-template.git gugus1234 cd gugus1234 Switch Poetry i’d like to have poetry as virtual env manager make switch-to-poetry Rename some Stuff had to rename some string in pyproject and different files … mv project_name gugug1234 gsed -i 's/a-flask-test/gugus1234/' pyproject.toml gsed -i 's/project_name/gugus1234/' pyproject.toml gsed -i 's/project_name/gugus1234/g' gugus1234/cli.py gugus1234/app.py gugus1234/config.py gugus1234/security.py Run Poetry once poetry shell poetry lock poetry install Admin User let’s create admin user

Kuma - API

i like kuma. simple, flexibel, selfhosted, and open source. one thing i missed is an API for adding / modifing hosted services. now, i found a webapi for kuma and gave a try. pre-condition you have some Maschine with Docker you have traefik running, which can terminate TLS, handle Loadbalancing docker-compose.yml version: '3.3' networks: traefik: external: true volumes: uptime-kuma: api-db: services: kuma: container_name: uptime-kuma image: louislam/uptime-kuma:1.19.6 restart: always volumes: - uptime-kuma:/app/data networks: - traefik labels: - "traefik.