Changes for page Schwarmspeicher Electrify

Last modified by Patrizia Gurschka on 2026/09/10 14:58

From version 8.4
edited by Patrizia Gurschka
on 2026/09/10 07:32
Change comment: Auto-saved during real-time collaboration
To version 8.2
edited by Patrizia Gurschka
on 2026/09/10 07:15
Change comment: Auto-saved during real-time collaboration

Summary

Details

Page properties
Content
... ... @@ -1,53 +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]]
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 47  ○ Übersicht
48 48  
49 49  ○ Technologie-Stack
50 50  
21 +○ Projektstruktur
22 +
51 51  ○ Use-Case-Umschalter
52 52  
53 53  ○ Hauptfunktionen
... ... @@ -88,6 +88,7 @@
88 88  
89 89  ○ Supabase
90 90  
63 +○ Architektur
91 91  
92 92  ○ Offene Punkte / zu verifizieren
93 93  
... ... @@ -109,6 +109,30 @@
109 109  
110 110  **Backend: **Supabase (self-hosted) — PostgreSQL, Authentication, Storage, Edge Functions, Row Level Security (RLS)
111 111  
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 +
112 112  == Use-Case-Umschalter ==
113 113  
114 114  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.
... ... @@ -285,8 +285,12 @@
285 285  
286 286  **Storage: **zwei Buckets — dokumente (Schwarmspeicher) und co-dokumente (PV-Co-Location).
287 287  
288 -== ==
285 +== Architektur ==
289 289  
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 +
290 290  == Offene Punkte / zu verifizieren ==
291 291  
292 292  |(((