Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jack994/destination-unknown
https://github.com/jack994/destination-unknown
Last synced: about 11 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jack994/destination-unknown
- Owner: jack994
- Created: 2020-05-02T17:14:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T13:59:31.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T08:53:30.057Z (over 1 year ago)
- Language: JavaScript
- Size: 454 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# destination-unknown
Node.js project to compare flights in different markets.
The project is live on Heroku at the following URL: [https://dest-u-markets.herokuapp.com/](https://dest-u-markets.herokuapp.com/)
Beware the project runs on a free heroku account, which means the page may take some time (~20 seconds) to load if thee app didn't receive any activity for more than 30 minutes.## Run the project locally
To run the application, a Skyscanner API key is required. A temporary key can be generated on [THIS PAGE](https://skyscanner.github.io/slate/#flights-browse-prices) clicking on `Run in Postman` (The requests imported to postman will contain the temporary key). After obtaining the key, create a `.env` file in the server folder containing `SKYSCANNER_API_KEY=`.
To run the application follow these steps:
- `cd destination-unknown`
- `cd server && npm i && cd ../client && npm i && cd ..`
- `npm run start:client` in one terminal tab/window
- `npm run start:server` in another terminal tab/window
- If it does not open automatically, navigate to [http://localhost:3000](http://localhost:3000)