Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dancespiele/flight-map
https://github.com/dancespiele/flight-map
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dancespiele/flight-map
- Owner: dancespiele
- Created: 2018-11-19T15:56:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T03:18:20.000Z (almost 6 years ago)
- Last Synced: 2024-10-10T05:35:23.687Z (28 days ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flight Map
Example of google maps that connect to api to get the flights
## Requirements
* node > 8
* typescript 3## How use it
First you need to install and run [flight-map-api](https://github.com/dancespiele/flight-map-api).
Execute the next commands:
* `git clone [email protected]:dancespiele/flight-map.git`
* `cd flight-map`
* `npm install`
* Create a .env file in the root of flight-map directory```
GOOGLE_API_KEY=[your api key]
```* `npm run watch`
## Test
* create a .env.test in the test directory
```
GOOGLE_API_KEY=[your api key]
```
* run [flight-map-api](https://github.com/dancespiele/flight-map-api)
* execute `npm test` in the root of flight-map directory