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
- Host: GitHub
- URL: https://github.com/weaponsforge/google-places-api-demo
- Owner: weaponsforge
- Created: 2021-09-15T15:00:32.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2021-09-15T15:31:42.000Z (over 4 years ago)
- Last Synced: 2025-03-26T09:37:20.999Z (about 1 year ago)
- Topics: demo, google-places-api
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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