A photography studio client wanted to add address validation and autocomplete feature on their website without spending too much. The first choice was Nominatim, but the addresses were not reliable, and data was missing. Then, after some searching, we narrowed it down to Geoapify. Their free tier was enough to handle the requests. I took their example implementation of the autocomplete feature and added more code to fill address fields once an address was selected. After having a working concept, we started integrating this bit with the website's PHP code. The website code had no modular bits; everything was in one place and looked very confusing at the start. But after finding the relevant bits, we found another issue. The implementation of Geoapify we had, after the selection of an address, did not return the house number even though we could see it in the search results. So, what we did was take the search result itself, strip everything except the street and house number, and use that to fill the fields. The rest of the code was just integrating everything.
This project allowed me to gain hands-on experience with address validation APIs, autocomplete functionality, and code integration within a legacy codebase.