Spring Boot Web Application for ip address lookup using MaxMind GeoIP2 and GMaps.js for UI
Response | Method | Path | Description |
---|---|---|---|
CityResponse | GET | /api/location | Returns CityResponse based in the IP from the request |
CityResponse | GET | /api/location/{ipAddress} | Returns CityResponse based in the given IP |
- Clone this project
git clone https://github.com/adaofeliz/ip-lookup.git ip-lookup
- Start Up the Application
cd ip-lookup
mvn clean install
java -jar target/ip-lookup.war
- Now open your browser: http://localhost:8080/