GameHub is a sleek and modern game discovery platform where users can search for games, filter them by genre and platform, and sort the results to find their next favorite game. Users can also explore detailed information about each game, including descriptions, attributes, screenshots, and trailers.
- Game Search: Search for games using text queries.
- Filters: Filter games by genre and platform.
- Sorting: Sort game results by various criteria.
- Game Details: Click on a game to view detailed information, including a description, attributes, screenshots, and trailers.
- Vite: Fast and optimized build tool for modern web projects.
- React: A JavaScript library for building user interfaces.
- TypeScript: A typed superset of JavaScript that scales.
- Chakra UI: A simple, modular, and accessible component library that gives you the building blocks to build React applications.
- React Query: Powerful data synchronization for React.
- Zustand: A small, fast, and scalable state-management solution.
- React Router: Declarative routing for React applications.
- RAWG.io API: The largest open video game database and game discovery service.
To get started with GameHub, follow these steps:
- Clone this repository to your local machine.
- Run
npm install
to install the required dependencies. - Get a RAWG API key at https://rawg.io/apidocs. You'll have to create an account first.
- Add the API key to src/services/api-client.ts
- Run
npm run dev
to start the web server.
If you'd like to contribute to GameHub, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-branch-name
- Open a pull request.
Contributions are welcome!
- Thanks to the developers of the libraries and tools that made this project possible.
- Special thanks to RAWG.io for providing the API used in this project.
For any questions or suggestions, feel free to open an issue or contact me through the repository.