Coder Social home page Coder Social logo

rahmaaaan / gamehub Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.37 MB

Game Hub is a comprehensive web application built using React and TypeScript, designed to provide gamers with an engaging platform to explore and discover various video games.

Home Page: https://game-hub-ten-beta.vercel.app

HTML 0.99% CSS 1.75% TypeScript 97.27%
chakra-ui rawg-api react react-router typescript

gamehub's Introduction

Game Hub

Game Hub is a comprehensive web application built using React and TypeScript, designed to provide gamers with an engaging platform to explore and discover various video games. This project incorporates essential aspects of modern web applications, including responsiveness, accessibility, and efficient state management. It consumes data from the RAWG API, one of the largest video game databases, to provide detailed information about games, including titles, thumbnails, screenshots, videos, and more.

Technologies Used

  • React.js : Frontend web library
  • TypeScript : A superset of JavaScript adding static types and modern features
  • RAWG API : API service providing game data
  • Chakra UI : UI library for designing the interface
  • react-router-dom : For routing and navigation in the app

Features

  • Game Grid: An organized display of video games in a grid layout for easy browsing. Each cell in the grid represents a game with its corresponding thumbnail.
  • Genre List: Users can explore games based on their favorite genres, presented as a list of genres to choose from.
  • Platform Selector: Filter games based on the gaming platform of choice using the Platform Selector.
  • Sort Selector: Sort games based on various criteria such as popularity and release date using the Sort Selector.
  • Search Input: A powerful search feature that allows users to find their favorite games directly.
  • Color Mode Switch: Users can switch between dark mode and light mode based on their preference.
  • Responsive Design: The application is built with a mobile-first approach and is responsive to different screen sizes.

Getting Started

Follow these steps to get the project up and running on your local machine for development and testing:

Prerequisites

Make sure you have the following requirements met:

  • Latest version of npm and Node.js installed.
  • Windows/Linux/Mac machine.

Installation

  1. Clone the repository

    git clone https://github.com/username/projectname.git
  2. Move into the project directory

    cd projectname
  3. Install the dependencies

    npm install
  4. Get a RAWG API key at https://rawg.io/apidocs. You'll have to create an account first.

  5. Add the API key to src/services/api-client.ts

  6. Run the below command to start the web server.

    npm run dev

    Open link that shows up in the terminal, with your browser to see the result.

Demo

Want to see Game Hub in action? Check out our live demo here.

Screenshots

Home Page

Sort Page

Contributing

Contributions to Game Hub are welcome! To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
  1. Make changes and commit them:
git commit -m "Add your commit message here"
  1. Push your changes to your branch:
git push origin feature/your-feature-name
  1. Create a pull request on the main repository.

Please follow the project's coding guidelines and maintain a clean commit history.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.