Skip to content

Veekshith18/CS2HUB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ CS2Hub - Full Stack CS2 Esports Analytics Platform

๐ŸŒ Live Project


๐Ÿ“Œ Overview

CS2Hub is a full-stack esports analytics web application inspired by VLR.gg, developed to provide real-time Counter-Strike 2 match information, live scores, upcoming schedules, team rankings, player statistics, tournament details, and an advanced global search system.

The application integrates external esports APIs through a custom Express.js backend, ensuring secure API communication and delivering a responsive, modern user interface built using HTML, CSS, and JavaScript.


โœจ Key Features

  • ๐Ÿ”ด Live CS2 match tracking
  • ๐Ÿ“… Upcoming match schedules
  • ๐Ÿ“ฐ Match results and details
  • ๐ŸŒ World team rankings
  • ๐Ÿ‘ฅ Team profile modals with statistics
  • ๐ŸŽฏ Player profiles and performance statistics
  • ๐Ÿ† Tournament information pages
  • ๐Ÿ”Ž Global search for teams, players, and tournaments
  • ๐Ÿ–ผ๏ธ Dynamic team logo generation
  • ๐Ÿ“ฑ Fully responsive design for mobile and desktop
  • โšก Asynchronous API communication using Fetch API

๐Ÿ–ผ๏ธ Application Screenshots

๐Ÿ”ด Live Match Dashboard

Live Matches


๐ŸŽฎ Match Details Modal

Match Details


๐ŸŒ Team Rankings

Rankings


๐Ÿ‘ฅ Team Profile

Team Profile


๐Ÿ‘ค Player Profile

Player Profile


๐Ÿ”Ž Global Search

Global Search


๐Ÿ“ฑ Mobile Responsive Design

Mobile View


๐Ÿ† Tournament Page

Tournaments


๐ŸŽฏ Players Statistics Page

Players


๐Ÿ› ๏ธ Technology Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Responsive Web Design

Backend

  • Node.js
  • Express.js
  • REST API Development

External API

  • PandaScore API

Development & Deployment Tools

  • Git
  • GitHub
  • Vercel (Frontend Deployment)
  • Render (Backend Deployment)

๐Ÿ“‚ Project Architecture

CS2Hub
โ”‚
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ server.js
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ”œโ”€โ”€ .env
โ”‚
โ”œโ”€โ”€ css/
โ”‚   โ””โ”€โ”€ style.css
โ”‚
โ”œโ”€โ”€ js/
โ”‚   โ””โ”€โ”€ script.js
โ”‚
โ”œโ”€โ”€ screenshots/
โ”‚   โ”œโ”€โ”€ home-live-matches.png
โ”‚   โ”œโ”€โ”€ match-details-modal.png
โ”‚   โ”œโ”€โ”€ rankings-page.png
โ”‚   โ”œโ”€โ”€ team-profile-modal.png
โ”‚   โ”œโ”€โ”€ player-profile-modal.png
โ”‚   โ””โ”€โ”€ more screenshots...
โ”‚
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .gitignore

๐Ÿ’ป Engineering Highlights

  • Designed a clean frontend architecture with separate CSS and JavaScript modules.
  • Built an Express.js backend proxy to protect API keys using environment variables.
  • Implemented asynchronous data fetching and real-time UI updates.
  • Developed reusable components such as match cards, player cards, team cards, and interactive modals.
  • Created a global search engine for teams, players, and tournaments.
  • Optimized the user interface for different screen sizes and mobile devices.
  • Managed version control and collaboration workflow using Git and GitHub.
  • Deployed a production-ready application using Vercel and Render.

๐Ÿš€ Running the Project Locally

1. Clone the repository

git clone https://github.com/Veekshith18/CS2HUB.git

2. Navigate to backend

cd backend

3. Install dependencies

npm install

4. Create .env file

PANDASCORE_API_KEY=YOUR_PANDASCORE_API_KEY

5. Start the backend server

npm start

6. Open the frontend

Open index.html using a browser or Live Server.


๐Ÿ”ฎ Future Improvements

  • User authentication and personalized profiles
  • Favorite teams and player tracking
  • Advanced player analytics and historical statistics
  • Additional esports game support
  • Enhanced match statistics and visualizations

๐Ÿ‘จโ€๐Ÿ’ป Developer

SWARNAPUDI VEEKSHITH


โญ If you found this project interesting, feel free to explore the repository.

About

VLR.gg-inspired CS2 esports tracking platform built with HTML, CSS and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors