games_app/prediqo_web
2026-08-26 18:30:43 +02:00
..
public After adding the alternative for the referral code 2026-08-08 14:34:24 +02:00
src After starting the cold wallet to hot wallet 2026-08-26 18:30:43 +02:00
.dockerignore first commit 2026-06-29 15:01:23 +02:00
.env.example After adding additionnal securities 2026-07-07 15:03:17 +02:00
.gitignore first commit 2026-06-29 15:01:23 +02:00
Dockerfile After adding additionnal securities 2026-07-07 15:03:17 +02:00
index.html After adding the logo to the application1 2026-07-27 19:55:16 +02:00
nginx-spa.conf first commit 2026-06-29 15:01:23 +02:00
package-lock.json After changing about commission dispatch and adding sharing card 2026-08-01 20:01:42 +02:00
package.json After changing about commission dispatch and adding sharing card 2026-08-01 20:01:42 +02:00
README.md first commit 2026-06-29 15:01:23 +02:00
tsconfig.json first commit 2026-06-29 15:01:23 +02:00
vite.config.ts first commit 2026-06-29 15:01:23 +02:00

Prediqo Web

Application web React (TypeScript + Vite) pour Prediqo — plateforme de jeux de prédiction avec paiements en cryptomonnaies.

Le web regroupe deux grands modules (en cours d’extension) :

  • Platform : gestion admin (utilisateurs, paramètres, overview, etc.)
  • Player : expérience joueur (wallet, jeux) — à aligner avec la version mobile

Démarrage

  1. Copier .env.example vers .env et configurer l’URL du backend
  2. Installer les dépendances
  3. Lancer le serveur de développement
cd prediqo_web
npm install
npm run dev

Variables d’environnement

  • VITE_API_BASE_URL : URL de base du backend (ex. http://localhost:4000)

Architecture

  • src/app : bootstrap (router, theme, providers)
  • src/features : pages par domaine (dashboard, users, settings, options…)
  • src/shared : layout, services API, composants réutilisables

Sécurité testnet

Le backend expose /health. Le web affiche une bannière « Network status » pour vérifier :

  • TRON = shasta
  • Polygon = amoy
  • Withdrawals = DISABLED (par défaut)