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
- 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.
Ensure that you have the following software installed on your machine:
-
Clone the repository:
git clone https://github.com/btarrant/game-hub.git
-
Navigate to the project folder:
cd game-hub
-
Install dependencies:
npm install
Before running the application, you need to obtain an API key from Rawg.io and configure it in the project.
-
Create a
.env
file in the root of your project. -
Add your Rawg.io API key to the
.env
file:REACT_APP_RAWG_API_KEY=your-api-key-here
Run the application locally:
npm run dev
Open your browser and visit http://localhost:5173 to see Game Hub in action.
The project follows a standard React project structure. Key folders include:
src
: Contains the source code of the application.
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.
Feel free to contribute to the project by opening issues or submitting pull requests. Follow the Contributing Guidelines for more details.
This project is licensed under the MIT License.