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