Pallaswiesen-/Mornewegviertel Webseite in Darmstadt. Kunst, Ökologie, Kultur in einem.
  • Python 77.4%
  • HTML 17.5%
  • CSS 4.7%
  • Dockerfile 0.4%
Find a file
2026-06-02 19:15:37 +02:00
backend locale docker fix 2026-06-02 19:15:37 +02:00
LICENSE Initial commit 2026-03-06 13:51:36 +00:00
README.md small readme update 2 2026-06-02 19:13:26 +02:00

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