This is a simple and interactive auto-complete search component built with React and TypeScript. It fetches video game titles from the RAWG API and displays game details in a modal upon selection.
Auto-complete Search: Type to see a list of video game suggestions in real-time.
Highlighted Text: Search query matches are highlighted in the suggested titles.
Modal Display: Click on a game title to open a modal with more details about the game.
Asynchronous Data Fetching: The search is powered by asynchronous API calls for efficient data loading.
No Third-party Libraries: The project uses only React and TypeScript, with custom CSS for styling.
Clone the repository:
git clone <repo-url>
cd autocomplete-component
npm install
npm start
The app will be available locally at http://localhost:3000.
REACT_APP_RAWG_API_KEY=
License
This project is licensed under the MIT License.