Remove trailing whitespace.
Remove the demo geo_comparison endpoint.
Add query arg validation code.
Parse the GeoJSON returned by PostGIS instead of putting it in a string.
Use a config module to point to the development DB.