Adding Seach functionality in react app

The attached .csv contains a list of data to create a food ordering application. The requirements of the product is as follows:

  1. As a user, I am able to search for available/open restaurants by time and dates via a search function.

You’re required to use React.js to develop the frontend and Node.js for the backend. You’re also required to use a proper database to store your data and write a migration script to migrate data from .csv file into your database.

Csv file looks like this:

As per the above assignment I am able to create a database able to fetch this parsed csv data into my frontend in array form using axios.

But wanted to get some idea or hint about how my search function should look like ?

are you using any ORM to write the db query