Hey everyone 👋
We’ve built a Lovable web app that parses DOCX shipping labels (AWB files) into structured JSON for logistics automation — mapping sender, recipient, and address details.
Now we’re adding a new feature: automatically enriching each address with latitude, longitude, and placeId using Google Maps Geocoding / Places API.
We already created and activated the API key, but we’re having trouble connecting it properly in Lovable and getting valid responses from the API.
Looking for:
- suggestions on how to implement geocoding in a Lovable server action / edge function,
- examples of best practices for handling API keys and caching repeated addresses.
Any guidance or examples would be super helpful 🙏