Do location search in a text box. The user will be typing "Ind" for this you will get an response from google API's,
If the user selects and location from the list provided by google. Then log the search param("Ind") as well as the google api response in db.
In the next search, If the same search param is entered, Then result should come from db and if there is not data in db, Then hit the google api and show the response.
I am new to this please help me with answer.