This app combines all the knowledge gained from my learning experience at Udacity.
It's a travel and weather application, combining the data from 3 different APIs to show the weather forecast, an image of the destination, and the geolocation.
All of it is running asynchronously and with webpack and service workers installed.
-
JS / HTML / CSS
-
Geonames API - Coordinates for the weather API
-
Pixabay API - Image source
-
Weatherbit API - Weather forecast
To get this project up and runnig locally you can follow these instructions.
-
Get a free API Key at http://www.geonames.org/
-
Get a free API Key at https://pixabay.com/
-
Get a free API Key at https://www.weatherbit.io/
-
Clone the repo
git clone https://github.com/stefanfeldner/capstone-travel-app.git- Install NPM packages
npm install- Create a
.envfile in the root folder and add your API Keys and the Port you want to use
geonameUser = "##########################"
weatherbitApiKey = "##########################"
pixabayApiKey = "##########################"
PORT = "8000"- Run
npm run startto start the server.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Stefan Feldner
