Beginner here. I have an app that consumes Here's Geocoding REST API through node.js (w/ express). (My api key is on the server side, so hidden from client.)
But I realized that to add custom markers and other UI to map data, I would also need to use Here's Javascript API. From what I see in the docs, I load the API and implement functions in the client side; but this would mean my api key would be exposed. So, I am fundamentally confused about how to implement this javascript API on the server side (so that api key and code are hidden from client).
Could bundling or SSR with Next.js be the answer?
This may have an obvious answer, but I can find none. Any insight would be appreciated. Thank you