An open API service indexing awesome lists of open source software.

https://github.com/thesoftwarewizard/gameautocompleter

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.
https://github.com/thesoftwarewizard/gameautocompleter

autocomplete autocomplete-search games rawg-api

Last synced: about 1 year ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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

#### 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.