Geolocation with Nextjs and ZEIT Now Serverless Functions
February 17, 2020Detect a user's geolocation on serverless functions with zeit now and next.js. By gaining the ip address from the node.js request object, this address can be used with the geoip-lite npm package to map an ip address to a specific set of coordinates