Tracker de vie auto-hébergé : suivi poids/calories/sport avec planning de pesées, sevrage tabac (vape) avec modèle de coût DIY et économies, et finances personnelles avec import de relevés bancaires. Architecture : FastAPI + SQLAlchemy 2.0 + PostgreSQL 16, React 18 + TS + Vite + Tailwind + ECharts, déploiement Docker Compose. Modules auto-découverts des deux côtés (pkgutil / import.meta.glob) et framework de connecteurs à deux voies (importeurs de fichiers + ingestion JSON) pour brancher de nouvelles sources sans toucher au noyau. Validé : 292 tests pytest, tsc + vite build, contrat API/web vérifié contre le schéma OpenAPI, et déploiement Docker réel sur PostgreSQL 16 (28 tables, SPA servie par nginx, wizard de premier démarrage). Documentation : README.md, docs/GUIDE.md, CONVENTIONS.md, et les documents de conception et de recherche dans docs/. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
48 lines
847 B
Plaintext
48 lines
847 B
Plaintext
# Docker build-context exclusions.
|
|
# Both images build from the repository root (docker-compose.yml: `context: .`),
|
|
# so without this file the daemon would receive .git, node_modules and the
|
|
# Python venv on every build — hundreds of MB over the wire, and
|
|
# `COPY apps/web/ ./` in web.Dockerfile would overwrite the node_modules that
|
|
# `npm ci` just installed inside the image.
|
|
|
|
# VCS
|
|
.git
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# Python
|
|
**/__pycache__
|
|
**/*.py[cod]
|
|
**/.pytest_cache
|
|
**/.mypy_cache
|
|
**/.ruff_cache
|
|
**/*.egg-info
|
|
apps/api/.venv
|
|
apps/api/venv
|
|
|
|
# Node
|
|
apps/web/node_modules
|
|
apps/web/dist
|
|
apps/web/.vite
|
|
|
|
# Secrets & local data (never bake them into an image)
|
|
.env
|
|
.env.local
|
|
*.local.env
|
|
*.sqlite3
|
|
pgdata
|
|
uploads
|
|
|
|
# Documentation (not needed at runtime)
|
|
docs
|
|
README.md
|
|
DESIGN.md
|
|
CONVENTIONS.md
|
|
|
|
# IDE / OS
|
|
.idea
|
|
.vscode
|
|
*.swp
|
|
Thumbs.db
|
|
.DS_Store
|