Well it has been a long journey for me on this one where i have been trying to find the right APIs which have not been easy but i have at last managed to work around the issues. With being eager to get to know NodeJS i have setup a backend NodeJS "serverless" server on glitch.com to... 1: Hide\Protect API Keys, 2: Serve Maps, 3:Provide IP addresss via dns.resolve. On the 3rd point i did try and find what APIs were out there but all of them required a payment or a very limited number of clicks for testing etc.. So i decided to do this bit in the end via the nodeJs Server itself using dns.resolve . For APIs i used 1: "ipgeolocation.io" - for IP address Details. 2:"https://api.bigdatacloud.net" - retrieving public ip address. 3: "https://developer.here.com/documentation/e..." - for retrieving and serving the map on nodeJS via the coordinates sent from "ipgeolocation.io". I hope that makes sense 😅.
--
Please feel free to view and access source code below for this WebApp-:
WebApp-:
https://ghnetcode.github.io/WebDev/Exercis...
Source Code -:
https://github.com/GHNetCode/WebDev/tree/m...
--
コメント