Rafał Tyński e8e1658b3a feat(backend): integrate SurrealDB storage with embedded RocksDB
Add StorageService backed by SurrealDB using the embedded RocksDB provider that persists to ./data (never in memory). Support an optional remote server via SurrealDb:RemoteUrl for frontend sync. Expose readiness and storage probe endpoints under /api/system and add a helper script to start a local SurrealDB server.

Set the backend version to 0.0.1.
2026-10-03 20:23:11 +02:00
2026-10-03 18:54:05 +02:00
2026-10-03 18:30:50 +02:00

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
S
Description
No description provided
Readme
352 KiB
Languages
C# 71.2%
SurrealQL 11.1%
TypeScript 10.2%
Vue 3.3%
PowerShell 2.4%
Other 1.8%