RepositoryTypeScriptUSHoa Kỳ
avalos010

avalos010/sportsbook-odds-comparer

A sleek and responsive web app built to help users quickly compare betting odds from multiple sportsbooks across a wide range of sports.

50sao
13fork
0issue
0lượt xem

🏈 Sportsbook Odds Comparer

A modern, responsive web application for comparing sports betting odds across different sportsbooks. Built with cutting-edge technologies and comprehensive testing.

Live Site CI/CD Testing

✨ Features

🎯 Core Functionality

  • Multi-Sport Support: NBA, NFL, NHL, MLB, MMA, and more
  • Odds Comparison: View and compare odds across multiple sportsbooks
  • Betting Markets: Moneyline, Spread, Points, and Player Props
  • Real-time Data: Live odds updates from sportsbook APIs

🎮 Player Props (Advanced Feature)

  • Dynamic Market Selection: Choose from various player prop markets
  • Real-time Odds: Live player prop odds from multiple bookmakers
  • Interactive UI: Modern combobox interface for easy navigation
  • Comprehensive Coverage: Batter hits, passing yards, and more

🧭 Navigation & UX

  • Responsive Design: Mobile-first approach with Tailwind CSS
  • Dark/Light Theme: Toggle between themes for user preference
  • Intuitive Navigation: Easy switching between sports and markets
  • Accessibility: ARIA labels and keyboard navigation support

🚀 Tech Stack

Frontend

  • Next.js 14 - React framework with App Router
  • React 18 - Latest React with concurrent features
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first CSS framework
  • Radix UI - Accessible component primitives

State Management & Data

  • SWR - Data fetching and caching
  • UUID - Unique identifier generation
  • Class Variance Authority - Component variant management

Testing & Quality

  • Cypress 14 - End-to-end testing
  • ESLint - Code quality and consistency
  • TypeScript - Static type checking

Development Tools

  • pnpm - Fast, disk space efficient package manager
  • PostCSS - CSS processing
  • Autoprefixer - CSS vendor prefixing

🧪 Testing

E2E Tests with Cypress

Comprehensive test coverage including:

// Example test structure
describe("Sportsbook Odds", () => {
  it("loads and displays odds", () => {
    cy.visit("/");
    cy.get('[data-cy="odds-ml-item"]').should("be.visible");
  });

  it("navigates between sports correctly", () => {
    // Navigation tests
  });
});

describe("Player Props", () => {
  it("displays player props for selected markets", () => {
    // Player props functionality tests
  });
});

Test Coverage

  • ✅ Page Loading: Homepage and odds pages
  • ✅ Navigation: Sport switching and market navigation
  • ✅ Player Props: Market selection and data display
  • ✅ Responsive Design: Mobile and desktop interactions
  • ✅ Data Integration: API responses and error handling

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation

# Clone the repository
git clone https://github.com/yourusername/sportsbook-odds-comparer.git
cd sportsbook-odds-comparer

# Install dependencies
pnpm install

# Start development server
pnpm dev

Available Scripts

pnpm dev          # Start development server
pnpm build        # Build for production
pnpm start        # Start production server
pnpm lint         # Run ESLint
pnpm test         # Run Cypress tests
pnpm cypress:open # Open Cypress test runner

🏗️ Project Structure

sportsbook-odds-comparer/
├── src/
│   ├── app/                 # Next.js App Router
│   │   ├── odds/           # Odds comparison pages
│   │   │   ├── [sport]/    # Dynamic sport routes
│   │   │   └── playerProps/ # Player props functionality
│   │   └── layout.tsx      # Root layout
│   ├── components/          # Reusable components
│   │   ├── ui/             # Base UI components
│   │   ├── OddsTable.tsx   # Main odds display
│   │   ├── PlayerProp.tsx  # Player props component
│   │   └── ThemeToggle.tsx # Theme switching
│   └── lib/                # Utilities and API
├── cypress/                 # E2E testing
├── public/                  # Static assets
└── .github/workflows/       # CI/CD pipelines

🔄 CI/CD Pipeline

GitHub Actions Workflow

  • Automated Testing: Runs Cypress tests on every deployment
  • Quality Checks: ESLint and TypeScript validation
  • Deployment Integration: Tests against live deployed applications
  • Smart Caching: Optimized dependency and build caching

Workflow Features

  • Event-Driven: Triggers on successful deployments
  • E2E Testing: Comprehensive testing against live applications
  • Fail-Fast: Immediate feedback on deployment issues
  • Resource Efficient: Optimized for speed and cost

🌟 What's Next

Planned Features

  • Personal Betting Tracker: Track your bets and performance
  • Daily Picks: Curated betting recommendations
  • Sports Bettor Profiles: Featured handicapper picks
  • Advanced Analytics: Betting performance insights
  • Mobile App: Native mobile experience

Technical Improvements

  • Performance Optimization: Core Web Vitals improvements
  • SEO Enhancement: Better search engine optimization
  • PWA Features: Progressive web app capabilities
  • Real-time Updates: WebSocket integration for live odds

🤝 Contributing

This is a personal project, but contributions are welcome!

Development Guidelines

  • Follow TypeScript best practices
  • Write comprehensive tests for new features
  • Maintain accessibility standards
  • Use conventional commit messages

📱 Live Demo

Visit the live application: https://sportsbook-odds-comparer.vercel.app/

📄 License

This project is for personal use and educational purposes.


Built with ❤️ using Next.js, React, and modern web technologies

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
gotoConversion/goto_conversion

goto_conversion - Powered $47,000 of prize money, 10+ Gold Medals and 100+ Medals on Kaggle

118
Sep 6, 2026
RepositoryTypeScript
Sealva-Devs/Crypto-Casino-Game

Online Web3 Crypto Casino Platform - Crash, Jackpot, Roulette, Slot, Coinflip, Mine, Poker. It is designed for fast gameplay, real-time community, and serious risk control – without sacrificing developer friendliness.

72
Jun 18, 2026
RepositoryTypeScript
chayawolfe/sportsbook-casino-platform

Full-stack sportsbook and casino platform engineering project featuring sports data integration, game management, real-time APIs, and scalable backend architecture.

70
Oct 26, 2026
RepositoryPython
jordantete/OddsHarvester

A python app designed to scrape and process sports betting data directly from oddsportal.com 🎯

277
Nov 20, 2026
RepositoryPython
cvidan/bet365-scraper

Python script to scrape Bet365 odds using Selenium.

154
Feb 4, 2019
RepositoryRust
day-mon/sports-betting-ai

A website that utilizes a deep learning neural network to detect who will win NBA games

118
Nov 23, 2026
RepositoryPHP
PolyCash/polycash

The ultimate open source betting protocol. PolyCash is a P2P blockchain platform for wallets, asset issuance, bonds & gaming.

49
Nov 30, 2025
Dataset
SmartStake/mlb-player-props

SmartStake MLB Player Prop Odds and Results (2026) Minute-by-minute MLB player prop odds from ~75 sportsbooks and exchanges over the 2026 season, with the graded outcome of each prop attached. Every row is one book's price for one selection at one minute. This is the raw material behind the study "Sharpest Sportsbooks for MLB Player Props". Coverage Odds: late March 2026 through early July 2026. Graded outcomes: March through June (games that had settled at… See the full description on the dataset page: https://huggingface.co/datasets/SmartStake/mlb-player-props.

♥0
428
Jul 9, 2026
RepositoryHTML
UltraGrimex/resp-cokuy-GO

Persistent personal Telegram agent in Go. One binary, one SQLite file, cheap replaceable model. Open loops, reminders, and spend tracking as first-class state.

3
Nov 5, 2026