Game Hub is a video game discovery web app that helps you find new and interesting games to play. With Game Hub, you can search for games by platform, genre, and more.
To set up Game Hub on your local machine, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory.
- Run
npm install
to install the necessary dependencies.
Once installed, you can use the following scripts:
npm run dev
: Starts the development server using Vite.npm run build
: Builds the project for production using TypeScript and Vite.npm run preview
: Previews the production build locally.
Game Hub relies on the following dependencies:
- @chakra-ui/react: A simple, modular, accessible component library for React applications.
- @emotion/react and @emotion/styled: Provides utilities for styling React components.
- @tanstack/react-query and @tanstack/react-query-devtools: A React query library for managing server state in applications.
- axios: A promise-based HTTP client for the browser and Node.js.
- framer-motion: A library for creating fluid animations in React applications.
- i: A library for extending the JavaScript built-in objects.
- ms: A tiny millisecond conversion utility.
- react and react-dom: Core libraries for building user interfaces with React.
- react-icons: Provides a comprehensive set of icons for React applications.
- react-infinite-scroll-component: A component to create infinite scroll experiences in React.
- react-router-dom: Provides routing capabilities for React applications.
- zustand: A small, fast, and scalable state management library for React.
Game Hub uses the following development dependencies:
- @types/ms, @types/react, and @types/react-dom: Type definitions for libraries used in the project.
- @vitejs/plugin-react: React support for Vite.
- typescript: A superset of JavaScript that adds static typing to the language.
- vite: A build tool that focuses on speed and simplicity.