chercheville v0.1.1 API Reference

Modules

ChercheVille is an Elixir service allowing to search cities based on data from GeoNames

Ecto schema representing a city

Behaviour of a module for fetching from a url. Used for mocking HTTP requests

Implemention of the ChercheVille.Fetcher behaviour that makes actual HTTP requests. This is swaped with a mock when running tests

A GenServer providing city search capabilities

Loading data from the geonames text files into our database

Mix task for fetching data files from geonames

Mix task for importing data from geonames files into our database