Welcome to the Game Hub Discovery web application! This application leverages the RAWG API to provide a platform for discovering and exploring video games. Whether you're a gamer looking for new titles or a developer interested in using this API, this documentation will guide you through the setup and usage.
DEMO Game-Hub.
Before you begin, ensure you have met the following requirements:
- Node.js installed on your machine.
- An API key from RAWG API, which is required for accessing their data.
- Clone this repository to your local machine:
git clone https://github.com/shakhbozbekusmonov/game-hub.git
- Navigate to the project directory:
cd game-hub
- Install the project dependencies:
npm install
Create a .env
file in the root directory of your project to store your RAWG API key:
VITE_REACT_APP_API_KEY=your_api_key_here
VITE_REACT_APP_API_PATH=your_api_path_here
The application provides the following endpoints:
/games
: Retrieve a list of games./games/:id
: Get details about a specific game./search/:query
: Search for games based on a query./genres
: Retrive a list of genres.
For detailed information on how to use these endpoints, refer to the RAWG API documentation.
We welcome contributions from the community. If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to the main repository.
This project is licensed under the MIT License.