Files
Hy2026/client
Rafał Tyński 69af054774 chore(dev): add HTTPS Vite dev server and HTTP launch profile
Serve Vite over HTTPS on :7081 using a certificate exported from dotnet dev-certs (scripts/dev-certs.ps1). Add an http launch profile on :5078 as the default backend and point the /api proxy at it, so dev runs on defaults without env vars.
2026-10-04 05:42:35 +02:00
..

TarninaHub — frontend (client)

Aplikacja SPA: Vue 3 + TypeScript + Vite + Vuetify 4, z routingiem (vue-router), stanem (pinia) i i18n (vue-i18n). Fundament dostępności WCAG 2.1 AA (senior-friendly).

Komendy

npm install
npm run dev            # serwer dev (Vite)
npm run build          # typecheck (vue-tsc) + build produkcyjny
npm run preview        # podgląd builda
npm run lint           # ESLint
npm run format         # Prettier (zapis)
npm run format:check   # Prettier (weryfikacja)
npm run test           # Vitest
npm run test:a11y      # Vitest (testy dostępności)

Konfiguracja

Skopiuj .env.example do .env i ustaw w razie potrzeby:

  • VITE_API_BASE_URL — bazowy adres API (pusty = ten sam origin; w dev proxy Vite),
  • VITE_SURREAL_* — lokalna (WASM/IndexedDB) i zdalna baza SurrealDB.

Szczegóły architektury i konwencji: 10_ZalozeniaProjektowe/todo18/FRONTEND.md.