Commit Graph
25 Commits
Author SHA1 Message Date
Rafał Tyński a9815b54e0 fix(infra): fix Dockerfile restore and build script solution name
Copy the layered project files before restore so the Docker build resolves project references, and build the correct solution file (TarninaHub.slnx) in scripts/build.mjs.
2026-10-04 01:50:01 +02:00
Rafał Tyński 1cbf965657 test(backend): add xUnit tests for the API skeleton
Add tests/TarninaHub.Tests with health controller and SurrealDB endpoint builder tests, and register the test and layer projects in the solution.
2026-10-04 01:49:56 +02:00
Rafał Tyński b3756238a3 feat(backend): restructure API into layers with OpenAPI, versioning and error handling
Split the backend into API host, Domain, Application and Infrastructure projects. Add Swagger/OpenAPI per API version, Asp.Versioning (query/header), ProblemDetails with a global exception handler and SurrealQL migrations applied at startup (namespace/database ensured). Infrastructure owns the SurrealDB client, settings and DI.
2026-10-04 01:49:51 +02:00
Rafał Tyński 0a5ef715eb feat(sql): add demo schema additions and synthetic seed data
Add additive schema for demo (user.display_name, innovation.tags, FLEXIBLE free-form fields) and a fully synthetic seed with organizations, personas, problems, submissions, innovations, knowledge items, grant calls, ideas and tester feedback. Verified on SurrealDB 3.2.4: migrations apply cleanly and are idempotent.
2026-10-04 01:24:18 +02:00
Rafał Tyński 6df1027699 feat(sql): add SurrealDB schema and taxonomy seed migrations
Add an idempotent SurrealDB 3.x schema for all domain entities with indexes (HNSW vector and full-text), record access and permissions, plus a taxonomy seed with the 8 social challenges, grouped tags and sample locations. Verified on SurrealDB 3.2.4: migrations apply cleanly, re-run is idempotent and CRUD works.
2026-10-04 01:11:33 +02:00
Rafał Tyński 67ec85b6cc docs(readme): document CI/CD, environments and observability 2026-10-04 00:57:40 +02:00
Rafał Tyński 70fb592cf7 chore(config): add backend environment variable example 2026-10-04 00:57:40 +02:00
Rafał Tyński 6c78351a95 ci: add disabled Gitea Actions CI/CD workflows
Add CI and CD workflows for backend, frontend and image publishing. The workflows are fully commented out because no Gitea Actions runner is attached; uncomment once a runner is registered.
2026-10-04 00:57:40 +02:00
Rafał Tyński 2401991870 chore(repo): add PR/issue templates and editorconfig rules
Add pull request and issue templates and extend .editorconfig with json/yml rules. Templates are force-added because the user's global gitignore excludes .github directories.
2026-10-04 00:48:53 +02:00
Rafał Tyński b2fd7f8940 docs(backend): require English-only commit messages
State that commit messages must be written in English in the DevHeyah and TarninaHub repositories and follow Conventional Commits.
2026-10-03 22:09:36 +02:00
Rafał Tyński 179ad953cb docs(readme): document registry pull workflow and image publish script 2026-10-03 21:16:20 +02:00
Rafał Tyński 9d28d23e45 build(docker): pull image from Gitea registry in compose template
Switch the compose example from local build to pulling the full registry path git.rtynski.pl/rtynski/hy2026, default the host port to 8075 and add a commented external ovh_net network.
2026-10-03 21:16:11 +02:00
Rafał Tyński 46178d915a build(scripts): add Docker image publish script for Gitea registry 2026-10-03 21:16:08 +02:00
Rafał Tyński 5598fa5156 build(docker): add container setup with persistent ./data volume
Add a multi-stage Dockerfile (Vue build + .NET 10 publish) and a docker-compose service exposing port 8080 with a single bind mount ./data -> /app/data for SurrealDB persistence. Include an example compose file, a .dockerignore, and document Docker usage and version 0.0.1 in the README.
2026-10-03 20:23:25 +02:00
Rafał Tyński 3b94358162 feat(frontend): connect client to local SurrealDB
Add a SurrealDB service with a local IndexedDB-backed (indxdb://) connection for private, local-first data and an optional remote connection for sync. Initialize the local connection on app start and document the required VITE_* variables in .env.example.

Bump the client version to 0.0.1.
2026-10-03 20:23:18 +02:00
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
Rafał Tyński ac9ce68fbe style(frontend): use outlined variant for feature cards 2026-10-03 18:54:17 +02:00
Rafał Tyński 1ad16fb35b feat(frontend): add light/dark theme switcher
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.
2026-10-03 18:54:13 +02:00
Rafał Tyński 2b6a9f5433 build(frontend): add @vueuse/core dependency 2026-10-03 18:54:09 +02:00
Rafał Tyński 8541e3b42e chore: ignore local backend docs 2026-10-03 18:54:05 +02:00
Rafał Tyński 2158ad0ae6 docs: add project README 2026-10-03 18:30:50 +02:00
Rafał Tyński 3a45267ad8 feat(frontend): scaffold Vue 3 + Vuetify landing page 2026-10-03 18:30:47 +02:00
Rafał Tyński f26ad1744e feat(backend): scaffold ASP.NET Core Web API with health endpoint 2026-10-03 18:30:43 +02:00
Rafał Tyński 74f14e93ea build: add solution and client bundling scripts 2026-10-03 18:30:39 +02:00
Rafał Tyński 04ac25eae4 chore: add editorconfig and gitignore 2026-10-03 18:30:36 +02:00