Too Long; Didn't Read
Node.js and Express can use an API to retrieve geolocation from an IP address. We will use ipdata as a data provider and Superface for communication with a 3rd party API. We are going to use the API in our app to get geolocated from the IP we have extracted. We can read the IP address of the device connecting to our application from the incoming request (req), or use a proxy to read it from headers if it runs behind a proxy, which is a very common setup.