Google Maps API Geocoding Proxy Server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.example
.gitignore
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

geocoding-proxy

Google Maps API Geocoding Proxy Server

Setup

  1. clone this repository
  2. make it the current working directory: $ cd geocoding-proxy
  3. install dependencies: $ npm i or $ yarn
  4. get an API key: https://developers.google.com/maps/documentation/geocoding/start#get-a-key
  5. copy .env file: $ cp .env.example .env
  6. add your Google Maps API key to .env: GEO_KEY=abcdefg
  7. start the server: $ node index.js
  8. from another terminal, try it: $ curl localhost:5050/geocode/Charleston