I am trying to get the country where the user is sending the request to my server.
So far I have found those solutions:
https://github.com/fiorix/freegeoip
https://github.com/maxmind/GeoIP2-java
These solutions are using MaxMind database GeoIP2 Country Database which has a license and for this specific project I have restriction with Libraries (legal aspects because of the business)
I have found some topics mentioning that Google API can provide this service, but that doesn't interest me as I want a solution that I can host myself and it is implemented using Java or Kotlin.
Does someone know a solution different from the one mentioned (that runs on the backend)?