/deel-test

Answers to test sent by deel

Primary LanguageTypeScript

React Autocomplete Component This is a simple React Autocomplete component that allows users to type in a search query and receive suggested options based on their input. The suggested options are loaded from a JSON server that is started with the yarn json command.

Prerequisites To start this project, you should have the following installed:

Node.js and npm (Node Package Manager) Yarn package manager JSON server Getting Started To get started, follow these steps:

Clone this repository to your local machine. Navigate to the root directory of the project in your terminal. Run yarn to install the dependencies. yarn json This will start the JSON server and load the options from the db.json file.

To start the development server, open a new terminal window and navigate to the root directory of the project. Then run the following command: yarn start Open your web browser and navigate to http://localhost:3000 to view the app.