A modern, feature-rich web application built with React, TypeScript, Redux Toolkit, and Vite. The app is designed for interactive, real-time gaming experiences, with support for internationalization, PWA, and mobile-friendly UI.
- Real-time Game Engine: Live multiplayer betting game with real-time updates using Socket.IO.
- Authentication & User Management: Secure login, registration, password reset, and account management.
- Wallet & Transactions: Deposit, withdraw, transfer money, and view transaction history.
- Affiliate Program: Referral system with bonus tracking and transfer.
- Internationalization (i18n): Supports English and French languages.
- PWA Support: Installable as a Progressive Web App with offline support and push notifications (Firebase Cloud Messaging).
- Responsive UI: Mobile-first design using Bootstrap and custom SCSS.
- Onboarding & Guided Tours: Interactive onboarding and feature tours for new users.
- Provably Fair: Transparent and fair game logic.
- Comprehensive FAQ & Support: In-app FAQ and support links.
- Frontend: React 18, TypeScript, Vite
- State Management: Redux Toolkit
- Styling: SCSS, Bootstrap 5
- Internationalization: i18next, react-i18next
- PWA: vite-plugin-pwa
- Real-time: socket.io-client
- Charts: chart.js, react-chartjs-2
- Other: Firebase (messaging), React Router, React Bootstrap, React Icons
├── public/ # Static assets, icons, service worker, etc.
├── src/
│ ├── assets/ # Images, logos, gifs, etc.
│ ├── components/ # Reusable UI components (Game, Wallet, Modals, etc.)
│ ├── i18n/ # Internationalization config and translations
│ ├── routes/ # App routing and page layout
│ ├── sections/ # (Optional) App sections
│ ├── store/ # Redux slices and store setup
│ ├── styles/ # Global SCSS, variables, breakpoints
│ ├── utils/ # Utility functions
│ ├── App.tsx # Main app component
│ ├── main.tsx # App entry point
│ ├── network.ts # API/network logic
│ └── index.scss # Global styles
├── manifest.json # PWA manifest
├── vite.config.ts # Vite configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Project metadata and scripts
- Node.js (v16+ recommended)
- npm or yarn
npm install
# or
yarn installnpm run dev
# or
yarn devnpm run build
# or
yarn buildnpm run preview
# or
yarn previewVITE_BE_BASE_URL: Backend API base URL (set in your environment for API calls)
- Header: Branding, language switcher, wallet access, login/register, navigation.
- Game Area:
- GraphCard: Real-time game chart and stats.
- SimpleCard: Bet form and controls.
- MyTabs: Tabs for history, players, and stats.
- ScoreBoardFooter: Online/playing stats.
- Wallet Modal: Deposit, withdraw, transfer, and transaction history tabs.
- Account Modal: User stats, change password, and settings.
- Affiliate Program: Referral link, bonus summary, and transfer.
- FAQ & Info: In-app FAQ, onboarding, and how-to-play guides.
- Notifications: Push notifications via Firebase.
- PWA Modal: Prompt to install the app on supported devices.
- English and French supported.
- Language is auto-detected or can be switched in the header.
- Translation files in
src/i18n/locales/en/andsrc/i18n/locales/fr/.
- Uses Bootstrap 5 and custom SCSS modules.
- Global styles in
src/index.scss. - Theme and layout variables in
src/styles/_variables.scssandsrc/styles/_screens.scss.
- PWA manifest and icons in
public/andmanifest.json. - Service worker for push notifications:
public/firebase-messaging-sw.js. - Installable on mobile and desktop.
dev: Start development serverbuild: Build for productionpreview: Preview production buildlint: Lint source filesprepare: Husky git hooks
This project is proprietary and not open source. For inquiries, contact the project owner.