Often you need to have in your application the updated list of cities to use for example in the registration pages, when you need to enter your city of birth or add a residence.
This my last job is interested in providing a complete service to obtain and query the list of cities in a particular country. It is available both as a docker image and as a library to import. Here you will find the details of the project. Good fun!