Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.14 KB

Video Game Auto-Complete Search

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.

Features

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.

How to Run the Project

Clone the repository:

git clone <repo-url>

Navigate to the project directory:

cd autocomplete-component

Install the dependencies:

npm install

Run the project:

npm start

The app will be available locally at http://localhost:3000.

Create an .env file and use your RAWG API

REACT_APP_RAWG_API_KEY=

License

This project is licensed under the MIT License.