Testing the Google Places API.
- Google account with the Google Places API enabled.
- NodeJS 12.16.3+
- Clone this repository.
git clone https://github.com/weaponsforge/google-places-api-demo.git - Install dependencies.
npm install - Create a
.envfile from the.env.examplefile.- Replace the value of
GOOGLE_MAPS_API_KEYwith your own google maps api key.
- Replace the value of
- Run the app ini local development mode.
npm run dev - Access various Google Places API endpoints listed on http://localhost:3001.
API documentation is a WIP.
Run the server in local development mode.
Run the server in production mode.
@weaponsforge
20210815