btarrant / game-hub

Welcome to Game Hub, a React application built with TypeScript and Vite. This app serves as a hub for video game enthusiasts, providing information about various games using the Rawg.io video game API and leveraging the Chakra UI library for a clean and responsive user interface.

Home Page:https://bt-game-hub.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Hub - React + TypeScript + Vite App

Welcome to Game Hub, a React application built with TypeScript and Vite. This app serves as a hub for video game enthusiasts, providing information about various games using the Rawg.io video game API and leveraging the Chakra UI library for a clean and responsive user interface.

Click here to view deployed app: https://bt-game-hub.vercel.app

Table of Contents

Features

  • Game Search: Search and explore a vast collection of video games.
  • Responsive Design: Utilize the Chakra UI library for a responsive and visually appealing user interface.
  • TypeScript Support: Leverage the benefits of TypeScript for enhanced code quality and development experience.
  • Fast Development: Utilize Vite for fast development and optimized build times.

Getting Started

Prerequisites

Ensure that you have the following software installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/btarrant/game-hub.git
  2. Navigate to the project folder:

    cd game-hub
  3. Install dependencies:

    npm install

Configuration

Before running the application, you need to obtain an API key from Rawg.io and configure it in the project.

  1. Create a .env file in the root of your project.

  2. Add your Rawg.io API key to the .env file:

    REACT_APP_RAWG_API_KEY=your-api-key-here

Usage

Run the application locally:

npm run dev

Open your browser and visit http://localhost:5173 to see Game Hub in action.

Folder Structure

The project follows a standard React project structure. Key folders include:

  • src: Contains the source code of the application.

Dependencies

Key dependencies used in this project include:

  • React
  • TypeScript
  • Vite
  • Chakra UI
  • Axios

For a detailed list of dependencies, refer to the package.json file.

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests. Follow the Contributing Guidelines for more details.

License

This project is licensed under the MIT License.

About

Welcome to Game Hub, a React application built with TypeScript and Vite. This app serves as a hub for video game enthusiasts, providing information about various games using the Rawg.io video game API and leveraging the Chakra UI library for a clean and responsive user interface.

https://bt-game-hub.vercel.app


Languages

Language:TypeScript 95.9%Language:CSS 1.8%Language:JavaScript 1.2%Language:HTML 1.0%