Files
ClickerZ/Backend
Tetardtek a52746ed0c feat(sprint1-step3b): backend save system + anti-cheat + données rattrapées
- game_saves table + migration 002 (JSON state, anti-cheat metadata)
- saveControllers.js : load/save avec validation delta ressources (750k/s × 1.1)
- GameSaveManager : upsert MySQL ON DUPLICATE KEY UPDATE
- useSaveSync hook : auto-save 30s + keepalive beforeunload + guest fallback
- save-validation.test.ts : 8 tests anti-cheat
- economy.ts : arbre d'évolution 5 nœuds + prestige ADN (rattrapage step 2)
- economy.test.ts : +40 tests (évolution tree, multipliers, start bonus)
- GDD + SPRINT1.md : docs sprint complètes
- Rethème data : shop.json, Achievements.json, Cookie, Legal (rattrapage step 1)
2026-03-20 13:40:16 +01:00
..

B-TetaRdPG

Description

Here is the BACKEND part of TetaRdPG project. It's an basic RPG game. You can make fight againest monster ... and more !

Installation & Start

(Don't forget to use F-TetaRdPG project with)

  1. git clone https://github.com/Tetardtek/B-TetaRdPG.git
  2. cd B-TetaRdPG
  3. Create your own .env file (use env.sample for example)
  4. npm i
  5. You have to use npm run db:migrate && npm run db:seed (to create you own DB project)
  6. npm run dev

License

This project is licensed under the MIT License - see the LICENSE file for details.

Technology

  • Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Express - A fast, unopinionated, minimalist web framework for Node.js.
  • MySQL - An open-source relational database management system.
  • Jsonwebtoken - JSON Web Token implementation for Node.js.

Contact

Discord