How kuldeepydv00/99app works
99xmatka is a real-money betting platform: players use the website/PWA to browse games, place bets, and manage wallet activity; the backend serves APIs and game rounds, while administrators manage results, schedules, users, payments, and announcements. The Android wrapper opens the same website. The graph preserves the documented game, fairness, and push-notification capabilities, but several connections are omitted where implementation excerpts were unavailable; dashed edges mark documented or otherwise unverified integration.
Main entry points: server.js API and socket server · App.tsx Player website · tradingEngine.js Trading rounds · notify.js Notification service
Components 24
Player experience
- Player website
website/src/App.tsx - Lobby and shell
website/src/layout/Lobby.tsx - Game screens
website/src/games/TradingPage.tsx - Game API client
website/src/games/api.ts - PWA behavior
website/src/layout/webApp.tsx - Android web wrapper
android-app/app
Administration
- Admin dashboard
admin-panel/src/App.tsx - Game administration
admin-panel/src/games/TradingAdmin.tsx
Backend API
- API and socket server
backend/src/server.js - User routes
backend/src/routes/userRoutes.js - Game routes
backend/src/routes/gamesRoutes.js - Admin routes
backend/src/routes/adminRoutes.js - User accounts
backend/src/controllers/userController.js - Admin operations
backend/src/controllers/adminController.js
Game runtime
- Trading rounds
backend/src/games/tradingEngine.js - Jet rounds
backend/src/games/jetEngine.js - Matka markets
backend/src/games/matka99.js - Fairness verification
backend/src/utils/provablyFair.js
State and messaging
- Notification service
backend/src/utils/notify.js - Web push delivery
backend/src/utils/webPush.js - Platform state store
backend/src/store.js - Game wallet ledger
backend/src/games/wallet.js - Historical charts
backend/src/historicalChartStore.js
Other components
- Player
Connections 29
- Player → Player website: uses
README.md - Player website → Lobby and shell: renders
website/src/App.tsx - Player website → Game screens: renders
website/src/App.tsx - Player website → Game API client: uses
website/src/App.tsx - Player website → PWA behavior: integrates
website/src/main.tsx - Android web wrapper → Player website: opens
README.md - Admin dashboard → Game administration: renders
admin-panel/src/App.tsx - Player website → API and socket server: requests APIs
README.md - Admin dashboard → API and socket server: uses admin APIs
README.md - API and socket server → User routes: mounts
backend/src/server.js - API and socket server → Game routes: mounts
backend/src/server.js - API and socket server → Admin routes: mounts
backend/src/server.js - User routes → User accounts: routes to
backend/src/routes/userRoutes.js - Admin routes → Admin operations: routes to
backend/src/routes/adminRoutes.js - Admin routes → Notification service: routes to
backend/src/routes/adminRoutes.js - Game routes → Trading rounds: dispatches to
- API and socket server → Trading rounds: initializes
backend/src/server.js - API and socket server → Jet rounds: initializes
backend/src/server.js - API and socket server → Matka markets: initializes
backend/src/server.js - Admin operations → Platform state store: reads and writes
backend/src/controllers/adminController.js - User accounts → Platform state store: reads and writes
backend/src/controllers/userController.js - Admin operations → Historical charts: reads
backend/src/controllers/adminController.js - Trading rounds → Game wallet ledger: settles bets
backend/src/games/tradingEngine.js - Jet rounds → Game wallet ledger: credits wins
backend/src/games/jetEngine.js - Notification service → Platform state store: persists messages
backend/src/utils/notify.js - Notification service → Web push delivery: sends push
backend/src/utils/notify.js - Trading rounds → Notification service: notifies players
backend/src/games/tradingEngine.js - Jet rounds → Notification service: notifies players
backend/src/games/jetEngine.js - Fairness verification → Trading rounds: verifies outcomes