Under developement, WIP. Be patient.
Implement an API using django and djangorestframwork
- /towns - Returns a list of towns.
- /aggs - Returns aggregation results on towns’ populations
- /query - Returns the generated SQLite query for the JSON query given as input
- install the dependencies locally
./setup/scripts/install
- migrate the database
./setup/scripts/migrate
- populate the database
./setup/scripts/populate_db
- run unit test
./setup/scripts/test
- run the server
./setup/scripts/run
Use the script populate_db to populate data base with src/data/French_Towns_Data.csv