A comprehensive online casino and gaming platform built with React, featuring casino games, sports betting, NFT marketplace, and more.
- Slots - Various slot machine games
- Blackjack - Classic card game
- Roulette - European and American roulette variants
- Live Casino - Real-time casino games with live dealers
- Game Shows - Interactive game show experiences
- Bonus Battles - Competitive gaming tournaments
- Challenges - Special gaming challenges and missions
- AK Originals - Exclusive games from the platform
- Sports - Comprehensive sports betting platform
- My Bets - Track and manage your betting history
- Live Betting - Real-time sports betting opportunities
- Marketplace - Buy and sell NFTs
- NFT Portfolio - Manage your NFT collection
- NFT Loans - Lending and borrowing NFT assets
- Lootboxes - Gamified NFT acquisition
- Rollbots & Sportsbots - AI-powered trading bots
- External NFT Integration - Connect with external NFT platforms
- Crypto Portfolio - Manage cryptocurrency holdings
- Clans - Social gaming groups
- Jackpot Games - Progressive jackpot opportunities
- AK Lottery - Lottery-style games
- Streams - Live streaming integration
- Race 25K - Competitive racing events
- Frontend: React 18.2.0
- Routing: React Router DOM 6.15.0
- Styling:
- Tailwind CSS 3.3.3
- Styled Components 6.0.8
- Material-UI 5.14.13
- Emotion (React/Styled) 11.11.0
- Form Handling: Formik 2.4.5 with Yup validation
- UI Components: Headless UI 1.7.17
- Carousel: React Slick 0.29.0
- Build Tool: Create React App 5.0.1
- Node.js (version 14 or higher)
- npm or yarn package manager
-
Clone the repository
git clone <repository-url> cd rollbit-clone
-
Install dependencies
npm install # or yarn install -
Start the development server
npm start # or yarn start -
Open your browser Navigate to http://localhost:3000 to view the application.
Runs the app in development mode. The page will reload when you make changes and display any lint errors in the console.
Launches the test runner in interactive watch mode. See the running tests documentation for more information.
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and filenames include hashes for caching.
Note: This is a one-way operation. Once you eject, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project and copy all configuration files and dependencies into your project.
src/
βββ components/
β βββ Common/ # Reusable UI components
β βββ home/ # Main application components
β β βββ header/ # Navigation and header components
β β βββ Account/ # User account management
β β βββ ChatBox/ # Live chat functionality
β β βββ Footer/ # Footer component
β β βββ MainHome/ # Main layout components
β βββ LoginAndRgister/ # Authentication components
β βββ Modals/ # Modal dialogs
β βββ models/ # Data models and utilities
β βββ Pages/ # Page components
β β βββ Casino/ # Casino game pages
β β βββ NFT/ # NFT marketplace pages
β β βββ Sports/ # Sports betting pages
β β βββ Other/ # Additional pages
β βββ Router/ # Routing configuration
βββ hooks/ # Custom React hooks
βββ assets/ # Static assets
β βββ font/ # Custom fonts
β βββ images/ # Image assets
β βββ MockData/ # Sample data for development
βββ App.js # Main application component
The application uses custom Geogrotesque fonts located in src/assets/font/. These fonts provide a modern, gaming-focused aesthetic.
- Tailwind CSS: Utility-first CSS framework for rapid UI development
- Styled Components: CSS-in-JS for component-specific styling
- Material-UI: Pre-built components for consistent design
- Custom Themes: Extensible color schemes and design tokens
The project uses Tailwind CSS with container queries plugin. Configuration can be found in tailwind.config.js.
Create a .env file in the root directory for environment-specific configuration:
REACT_APP_API_URL=your_api_url_here
REACT_APP_ENVIRONMENT=developmentnpm run buildThis creates a build folder with optimized production files ready for deployment.
The built application can be deployed to various platforms:
- Netlify: Drag and drop the
buildfolder - Vercel: Connect your GitHub repository
- AWS S3: Upload the
buildfolder contents - Traditional hosting: Upload files via FTP
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue in the repository
- Contact the development team
- Check the documentation for common issues
Note: This is a casino gaming platform. Please ensure compliance with local gambling laws and regulations in your jurisdiction.