Skip to content

Convert a zipcode to its approximate lat/lon coordinates 🌐

License

Notifications You must be signed in to change notification settings

jreakin/zip-to-gps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zip-to-gps

Convert a zipcode to its approximate lat/lon coordinates.

// GET api.elizabethwarren.codes/prod-zip-to-gps/:zipcode

{
  lat: Float,
  lon: Float,
}

Local Development

Requires Docker.

$ make tests

Deployment

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

About

Convert a zipcode to its approximate lat/lon coordinates 🌐

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.8%
  • Dockerfile 4.3%
  • Makefile 2.9%