This is a basic example how can you implements an micro-service to get works ip geolocation in nodejs.
You will need to have installed
- Nodejs
1 ) First you need install dependencies with your package manager (in this case we will use npm)
npm install
2 ) Then we will run with folliwing command:
npm run start
3 ) It's all! can you see project running in 127.0.0.1:3000
4 ) Enter to 127.0.0.1:3000/ip/your-ip.