Commit Graph

11 Commits

Author SHA1 Message Date
c1bf793234 feat(sprint3): migrations Sprint3Economy + fix data-source migrations path
- Create src/database/migrations/1742169600000-Sprint3Economy.ts
  Tables : tetard_coins, tc_transactions, processed_events (IF NOT EXISTS)
- Fix migrations path : src/migrations/*.ts → __dirname/migrations/*{.ts,.js}
  Fonctionne en ts-node (src/) et après build (dist/)
2026-03-17 09:39:20 +01:00
28ac5ef139 fix(migrations): data-source.ts — 14 entities (11 ajoutées pour CLI TypeORM) 2026-03-17 07:42:56 +01:00
3ff5a8a84b fix(mysql): jsonb → json — type non supporté par MySQL 2026-03-17 07:38:18 +01:00
824ed41a14 fix(security): revert synchronize:true → prod-safe + .env.example placeholders 2026-03-17 07:26:53 +01:00
921873befd fix(deploy): synchronize:true pour premier deploy MySQL — à revert après 2026-03-17 07:21:06 +01:00
b506adf034 fix(infra): PostgreSQL → MySQL + tsconfig.build exclude frontend/ 2026-03-17 07:20:14 +01:00
49b8aa1211 feat(sprint3): EconomyModule TetardCoin + TwitchModule EventSub — migration + 36 tests 2026-03-17 07:10:45 +01:00
1fce52f05c chore: archive v0 mars 2025 — GDD + roadmap pré-NestJS 2026-03-15 08:53:54 +01:00
23f7dd0f3c feat(sprint3): items + forge + craft + loot — équipement, artisanat lazy-calc, forge risque GDD 2026-03-15 08:22:20 +01:00
6d1230d16a feat: Sprint 2 — moteur de combat PvE TetaRdPG
Moteur combat stateless (POST /api/combat/start résout le combat complet).
Formules GDD : Mêlée/Distance/Magie × 1.5, critique (5% + Chance×0.2%), esquive (5% + Chance×0.1%).
5 monstres seedés (Têtard Vase → Golem de Boue, level 1–9).
Level up : XP → seuil atteint → level++, +5 statPoints.
Persiste combat_logs (jsonb rounds). Validé : victoire, défaite, 401, 400, 404.
2026-03-15 06:10:06 +01:00
da3237bf3f feat: Sprint 1 — backend fondations TetaRdPG
Auth SuperOAuth (JWT validation + httpOnly cookie), entités users/characters/level_thresholds,
lazy calculation endurance, seed 100 niveaux, config prod-ready (trust proxy, helmet, CORS, rate limit).
Validé : health 200, auth flow, character CRUD, endurance lazy, 401 sans cookie.
2026-03-15 05:51:02 +01:00