An open API service indexing awesome lists of open source software.

https://github.com/weaponsforge/google-places-api-demo

Testing the Google Places API
https://github.com/weaponsforge/google-places-api-demo

demo google-places-api

Last synced: 8 months ago
JSON representation

Testing the Google Places API

Awesome Lists containing this project

README

          

## google-places-api

> Testing the Google Places API.

### Requirements

1. Google account with the Google Places API enabled.
2. NodeJS 12.16.3+

## Installation

1. Clone this repository.
`git clone https://github.com/weaponsforge/google-places-api-demo.git`
2. Install dependencies.
`npm install`
3. Create a `.env` file from the `.env.example` file.
- Replace the value of `GOOGLE_MAPS_API_KEY` with your own google maps api key.

## Usage

1. Run the app ini local development mode.
`npm run dev`
1. Access various Google Places API endpoints listed on http://localhost:3001.
> API documentation is a WIP.

## Available scripts

### `npm run dev`
Run the server in local development mode.

### `npm run start`
Run the server in production mode.

@weaponsforge
20210815