Skip to content

krishna-purohith/game-hub

Repository files navigation

🎮 GameHub

Live Demo License React TypeScript Node.js Chakra UI Zustand TanStack Query

A responsive web app to browse and discover video games with filters, search, and infinite scrolling.
Built to deliver a smooth and engaging user experience while exploring a vast game database.


📖 Table of Contents


📌 About

GameHub is a React + TypeScript web application I built to explore my passion for gaming and to practice building advanced web apps. It fetches real-time game data using the RAWG API and provides dynamic search, filters, and infinite scrolling for a smooth discovery experience. I designed it to be fully responsive, so you can enjoy browsing games on both desktop and mobile seamlessly.


✨ Features

  • 🔎 Dynamic search: Quickly find games by name using React Query for optimized API calls

  • 🎮 Advanced filters: Filter games by genre, platform, and rating to narrow down results

  • 🔄 Infinite scroll: Keep scrolling to load more games without page reloads

  • Optimized data fetching: TanStack Query caches results to reduce API requests and improve performance

  • 📱 Responsive design: Built with Chakra UI to look great on desktop and mobile


🛠 Tech Stack

  • Frontend: React, TypeScript, Vite, Chakra UI
  • State Management: Zustand
  • Data Fetching: TanStack Query (React Query)
  • Routing: React Router
  • API: RAWG API

⚡ Getting Started

Prerequisites

  • Node.js >= 18
  • npm or yarn

Installation

git clone https://github.com/krishna-purohith/gamehub.git
cd gamehub
npm install

Running locally

npm run dev

🚀 Usage

  1. Launch the app locally

  2. Search for your favorite games in the search bar

  3. Apply filters for genre, platform, or rating to explore games faster

  4. Scroll to the bottom to load more games seamlessly — infinite scroll fetches additional results dynamically

Tip: Try combining filters and search for the quickest way to discover hidden gems!


🌐 Demo


🖼 Screenshots

image Homepage with search and filters



image Game details page with info, screenshots and a video clip



image Additional game details and extended screenshots




🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.


📜 License

Distributed under the MIT License. See LICENSE for more information.


👨‍💻 Author

Krishna Purohith

About

Know about your favourite online game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages