Changes for page Schwarmspeicher Electrify
Last modified by Patrizia Gurschka on 2026/09/10 14:58
From version 10.1
edited by Patrizia Gurschka
on 2026/09/10 07:33
on 2026/09/10 07:33
Change comment:
There is no comment for this version
To version 8.2
edited by Patrizia Gurschka
on 2026/09/10 07:15
on 2026/09/10 07:15
Change comment:
Auto-saved during real-time collaboration
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,55 +1,25 @@ 1 1 **🔋 Schwarmspeicher Electrify** 2 2 3 -|(% style="width:788px" %)((( 4 4 |((( 4 +|((( 5 5 ℹ️ **Zweck: **Webbasiertes Projektmanagementsystem zur Verwaltung von Batterie-Großspeicherprojekten in Deutschland und Österreich — vom Standort über Genehmigungen bis zur Projektsteuerung und Dokumentation. Deckt zwei Use-Cases ab: klassische Schwarmspeicher-Standorte und PV-Co-Location-Standorte. 6 6 7 7 **Zielgruppe: **Vertriebs-/Projektentwicklungsteam und IT/DevOps-Betrieb. 8 8 ))) 9 9 10 - ==Projektstruktur ==11 - 10 + 11 +)))|((( 12 12 |((( 13 -📁 src/ 14 - 15 -📁 components/ UI-Komponenten (Schwarmspeicher + CoLocation*-Pendants) 16 - 17 -📁 pages/ Seiten der Anwendung 18 - 19 -📁 hooks/ Datenzugriffe und Business-Logik 20 - 21 -📁 integrations/ Supabase Client 22 - 23 -📁 types/ TypeScript-Modelle 24 - 25 -📁 lib/ Hilfsfunktionen (u.a. mapCoordinates.ts) 26 - 27 -📁 supabase/ 28 - 29 -📁 migrations/ SQL-Migrationen (inkl. komplettes PV-Co-Location-Schema) 30 - 31 -📁 functions/ Edge Functions 32 -))) 33 - 34 -== Architektur == 35 - 36 -[[image:1789017284336-190.png||height="353" width="762"]] 37 - 38 -Zusätzlich übernimmt nginx im Frontend-Container TLS-Terminierung und same-origin-Routing (/auth, /rest, /storage, /realtime, /functions → supabase-kong) — dadurch läuft die App ohne CORS- oder Private-Network-Access-Probleme im Browser 39 -)))|(% style="width:280px" %)((( 40 -|((( 41 41 **Auf dieser Seite** 42 42 43 43 ▪ Schwarmspeicher Electrify 44 44 45 -○ Projektstruktur 46 - 47 -○ Architektur 48 - 49 49 ○ Übersicht 50 50 51 51 ○ Technologie-Stack 52 52 21 +○ Projektstruktur 22 + 53 53 ○ Use-Case-Umschalter 54 54 55 55 ○ Hauptfunktionen ... ... @@ -90,6 +90,8 @@ 90 90 91 91 ○ Supabase 92 92 63 +○ Architektur 64 + 93 93 ○ Offene Punkte / zu verifizieren 94 94 95 95 ○ Server ... ... @@ -110,6 +110,30 @@ 110 110 111 111 **Backend: **Supabase (self-hosted) — PostgreSQL, Authentication, Storage, Edge Functions, Row Level Security (RLS) 112 112 85 +== Projektstruktur == 86 + 87 +|((( 88 +📁 src/ 89 + 90 +📁 components/ UI-Komponenten (Schwarmspeicher + CoLocation*-Pendants) 91 + 92 +📁 pages/ Seiten der Anwendung 93 + 94 +📁 hooks/ Datenzugriffe und Business-Logik 95 + 96 +📁 integrations/ Supabase Client 97 + 98 +📁 types/ TypeScript-Modelle 99 + 100 +📁 lib/ Hilfsfunktionen (u.a. mapCoordinates.ts) 101 + 102 +📁 supabase/ 103 + 104 +📁 migrations/ SQL-Migrationen (inkl. komplettes PV-Co-Location-Schema) 105 + 106 +📁 functions/ Edge Functions 107 +))) 108 + 113 113 == Use-Case-Umschalter == 114 114 115 115 Zwei Buttons oben in der Seitenleiste ("Schwarmspeicher" / "PV-Co-Location"). Welcher Use-Case aktiv angezeigt wird, leitet sich direkt aus der aktuellen URL ab (Hook useUseCase.tsx, /pv-colocation/*-Pfade vs. Rest) — nicht aus einem gespeicherten Zustand. Dadurch zeigt die Seitenleiste nach Login oder direktem Aufruf eines Links immer konsistent den richtigen Use-Case. ... ... @@ -286,8 +286,12 @@ 286 286 287 287 **Storage: **zwei Buckets — dokumente (Schwarmspeicher) und co-dokumente (PV-Co-Location). 288 288 289 -== ==285 +== Architektur == 290 290 287 +[[image:1789017284336-190.png]] 288 + 289 +Zusätzlich übernimmt nginx im Frontend-Container TLS-Terminierung und same-origin-Routing (/auth, /rest, /storage, /realtime, /functions → supabase-kong) — dadurch läuft die App ohne CORS- oder Private-Network-Access-Probleme im Browser. 290 + 291 291 == Offene Punkte / zu verifizieren == 292 292 293 293 |(((