A FastAPI based server that runs the GeoIP lookup service. Retrieves the geolocation information for a given IP address.
- Set up virtualenv if required.
- Install poetry
- Install lock dependencies:
poetry install - Export requirements.txt from poetry:
sh export_requirements_txt_from_poetry.sh - Install pip dependencies:
pip install -r requirements.txt - Run the server with Host and Port:
sh start.sh 0.0.0.0:8080