feat: initial project structure
- CLAUDE.md project passport - Agent system prompts (architect, developer, reviewer, tester, deployer) - Gitea Actions CI pipeline (lint, test, build) - Docker configuration (Dockerfile, docker-compose.yml) - Canonical directory structure per BRD - Makefile with dev/test/lint/build/deploy targets - Architecture docs skeleton Refs: multi-agent F0-3, F0-5, F0-6, F0-8
This commit is contained in:
8
docs/README.md
Normal file
8
docs/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Документация Enduro Trails
|
||||
|
||||
## Навигация
|
||||
- [architecture/](./architecture/) — архитектура, ADR, диаграммы
|
||||
- [work-items/](./work-items/) — артефакты по задачам
|
||||
- [design/](./design/) — дизайн-токены, компоненты
|
||||
- [operations/](./operations/) — runbook, мониторинг
|
||||
- [api/](./api/) — OpenAPI спецификация
|
||||
0
docs/api/.gitkeep
Normal file
0
docs/api/.gitkeep
Normal file
21
docs/architecture/README.md
Normal file
21
docs/architecture/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Архитектура Enduro Trails
|
||||
|
||||
## Обзор
|
||||
Веб-приложение для планирования эндуро-маршрутов с визуализацией рельефа.
|
||||
|
||||
## Компоненты
|
||||
- **Frontend** — MapLibre GL JS, vanilla JS (ES modules)
|
||||
- **Backend API** — FastAPI (Python 3.12), uvicorn
|
||||
- **Tile Server** — статические raster tiles (PNG), раздаются через FastAPI/nginx
|
||||
- **Routing Engine** — OSRM с кастомным эндуро-профилем
|
||||
- **Database** — SQLite + Spatialite (точки интереса, маршруты)
|
||||
|
||||
## Слои карты
|
||||
- Base map (OpenStreetMap)
|
||||
- Hillshade (рельеф с тенями)
|
||||
- TRI (Terrain Ruggedness Index — сложность рельефа)
|
||||
- Hypsometric (высотная раскраска)
|
||||
- Trails (маршруты из OSM)
|
||||
|
||||
## Деплой
|
||||
Один Docker Compose на mva154. Nginx проксирует /enduro/ на контейнер.
|
||||
6
docs/architecture/adr/README.md
Normal file
6
docs/architecture/adr/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Architecture Decision Records
|
||||
|
||||
Индекс ADR проекта enduro-trails.
|
||||
|
||||
| # | Решение | Статус | Дата |
|
||||
|---|---------|--------|------|
|
||||
0
docs/design/.gitkeep
Normal file
0
docs/design/.gitkeep
Normal file
0
docs/operations/.gitkeep
Normal file
0
docs/operations/.gitkeep
Normal file
0
docs/work-items/.gitkeep
Normal file
0
docs/work-items/.gitkeep
Normal file
Reference in New Issue
Block a user