1ad16fb35b20f96706105bd85fdac0fca41c86be
Add persisted theme mode (light, dark, system) with a header menu. Rework the light and dark palettes for stronger contrast and drop the high-contrast theme.
hubmi
Platforma Małopolskiego Hubu Innowacji Społecznych (MVP hackathonu).
- backend/ — aplikacja backendowa w C# (ASP.NET Core,
HubMi.Api). - client/ — aplikacja frontendowa Vue 3 + TypeScript (Vite).
- scripts/ — skrypty budujące całość.
HubMi.slnx— solution .NET.
Wymagania
- .NET SDK 10+
- Node.js 22+ (npm)
Praca lokalna
Backend (dev) nasłuchuje na https://localhost:7080.
# terminal 1 — backend
dotnet run --project backend
# terminal 2 — client (Vite, proxy /api -> http://localhost:5078)
npm --prefix client install
npm --prefix client run dev
Skrypty
npm --prefix client run dev # uruchamia Vite (dev server)
npm --prefix client run build # buduje aplikację Vite do client/dist
npm --prefix client run copy # kopiuje client/dist -> backend/wwwroot
node scripts/build.mjs # buduje całość (client + copy + backend)
Struktura
hubmi/
├─ backend/ # ASP.NET Core Web API + wwwroot (build z client)
├─ client/ # Vue 3 + TS + Vite
├─ scripts/
│ ├─ build.mjs # build całości
│ └─ copy-client.mjs # client/dist -> backend/wwwroot
├─ HubMi.slnx
└─ README.md
Languages
C#
71.2%
SurrealQL
11.1%
TypeScript
10.2%
Vue
3.3%
PowerShell
2.4%
Other
1.8%