Game Hub is a video game discovery application built with React and TypeScript. It uses the RAWG Video Games Database API to fetch information about games, allowing users to search, filter, and browse games by genre, platform, and other criteria.
To set up the project locally, follow these steps:
Clone the repository:
git clone https://github.com/your-username/game-hub.git
Clone the repository:
cd game-hub
Install dependencies:
npm install
Obtain a RAWG API key by signing up at RAWG.io and add it to your environment variables.
Create a .env
file in the root directory and add your API key:
REACT_APP_RAWG_API_KEY=your_api_key_here
Start the development server:
npm start
Open http://localhost:5173 in your browser to view the app.
The project follows a modular folder structure, with components, pages, and services separated for scalability and easy maintenance:
Contributions are welcome! Feel free to open issues or submit pull requests to improve the app.
This project is licensed under the MIT License. See the LICENSE file for details.