Convert a zipcode to its approximate lat/lon coordinates.
// GET api.elizabethwarren.codes/prod-zip-to-gps/:zipcode
{
lat: Float,
lon: Float,
}
Requires Docker.
$ make tests
Use the serverless toolbox,
# From the `serverless-toolbox` directory,
# Replace ~/dev/zip-to-gps with the path to the `stats-api`
# directory on your host machine.
$ SRC=~/dev/zip-to-gps make toolbox
$ sls deploy -f api --stage prod
$ sls logs -f api --stage prod