https://github.com/waridrox/travel-app
A CRUD app utilising multiple APIs to create a trip planner.
https://github.com/waridrox/travel-app
Last synced: 16 days ago
JSON representation
A CRUD app utilising multiple APIs to create a trip planner.
- Host: GitHub
- URL: https://github.com/waridrox/travel-app
- Owner: waridrox
- Created: 2021-04-06T12:46:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T18:41:28.000Z (about 5 years ago)
- Last Synced: 2025-01-03T23:45:14.314Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://travel-planner-js.herokuapp.com/
- Size: 379 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Travel_App
## Features in the app
Allow the user to:
- remove the trip
- add notes for trip
- View image of country when city has no image on Pixabay
- View weather icons on forecast
- Select the starting point of the trip from the drop down date picker
## API's used
You'll need to sign up for 3 API keys/IDs if you don't have them already:
[Geonames](https://www.geonames.org/)
[Weatherbit](https://www.weatherbit.io/api)
[Pixabay](https://pixabay.com/api/docs) [Algolia](https://community.algolia.com/places/documentation.html)
- by creating a `.env` file, and assigning the following variables accordingly we can prevent the privacy breach that would happen if we directly used the API instead.
- g_key
- w_key
- p_key
- algolia_ID
- algolia_KEY
Also, we can define a port to run the server in this file if we wish to change the server port from 8626
## Getting the project running
Run `npm i` to use the node environment, and `npm run build` to start the webpack. Finally run `npm start` to start the app
Preview of the app
https://user-images.githubusercontent.com/58583793/113761914-9f80a080-9735-11eb-94bf-bdc7f2a56bb6.mov