2026-08-14 09:43:19 +03:00
2026-08-25 15:33:20 +03:00
2026-08-14 09:43:19 +03:00
2026-08-25 15:33:20 +03:00
2026-08-12 19:37:28 +03:00
2026-08-14 09:43:19 +03:00

WealthLedger frontend

React/Vite-клиент WealthLedger. Клиент получает данные только через typed API backend; прямые вызовы T-Bank из frontend не допускаются.

Быстрый старт

Требуется Node 22 (.nvmrc). Создайте .env из примера и установите зависимости строго из lockfile:

cp .env.example .env
npm ci
npm run dev

VITE_API_BASE_URL по умолчанию указывает на http://localhost:3000.

Проверка

npm run verify

Команда сначала отклоняет runtime вне Node 22, затем проверяет committed OpenAPI snapshot, repository hygiene, strict TypeScript, Biome, один coverage-backed запуск Vitest, Knip, dependency rules, production build и bundle budget. Для обновления OpenAPI artifacts применяется только npm run openapi:sync; обычный openapi:check обращается лишь к committed snapshot.

Документация

Runtime OpenAPI backend сверяется с frontend snapshot отдельной read-only backend командой npm run test:openapi-contract. Полный multi-repository change проверяется из workspace командой native OpenSpec validation and the canonical gates of each affected repository.

S
Description
No description provided
Readme
3.2 MiB
Languages
TypeScript 92.9%
JavaScript 4%
CSS 3%