Pallaswiesen-/Mornewegviertel Webseite in Darmstadt.
Kunst, Ökologie, Kultur in einem.
- Python 77.4%
- HTML 17.5%
- CSS 4.7%
- Dockerfile 0.4%
| backend | ||
| LICENSE | ||
| README.md | ||
PaMo_Webseite
Pallaswiesen-/Mornewegviertel Webseite in Darmstadt.
Die komplette Webseite inklusive compose.yaml datei sind im backend Ordner. Einfach mithilfe von Docker hostbar. Basiert auf FastAPI unnd HTML/CSS.
Backend
statisches HTML wird in /html gespeichert
dynamische Dateien (z.B. Bilder) werden in /files gespeichert
der rest der Daten wird in der Datenbank unter /db gespeichert (SQLite)
APIs für Users/Dokumente/Locations/Events sind in /api
main.py enthält die HTML-API für die Hauptwebseite (e.g. viele HTML GET-Methoden.)
dynamichtml.py loads the base html from /html and adds the dynamic data from the database for dynamic html views.
db.py handles all sql operations.
models.py holds all used pydantic models.
SECRETS.py holds the secrets
all tests are in /tests