This is the fifth project of the Front End Web Developer nanodegree program.
The project includes a form where the user enters the location they are traveling to, as well as the start and end dates of the trip. After clicking the 'Explore' button, the app sends a request to the Geonames API to obtain the location's coordinates, which are used to pull the location's wheather information from the Wheatherbit API. For the final touch, an image of the location entered will be displayed; for this, the app uses the Pixabay API.
- The app uses data from Geonames, Weatherbit, and Pixabay.
- The background image by Francesco Ungaro from Pexels.
- Lato has been used as this project font, and was sourced from Goggle Fonts.
The demo version of the Travel App project.
- HTML
- Sass
- JavaScript
- Node
- Express
- API
- Webpack
- Jest
- Workbox Service Worker
Node 16.13.0
- Fork the repo and clone the forked repo to you local computer.
- In the Terminal window navigate to the local app directory and run
npm install
command to install all dependencies frompackage.json
file (make sure you have node installed). - Create
.env
file in the root directory to store the following API keys:
- For the development mode run
npm run build-dev
command – the app will be opened in your default browser tab running onlocalhost:8080
. - For the production mode run
npm run build-prod
and thennpm start
. Then you can open the app in a browser tab with thelocalhost:8081
in the IP address field.
The app is free for personal use with the credentials to this repository.
Coded by Natalia Petrenko, 2021.