Skip to content

This app finds and shows the image and the current weather for the location selected by the user.

Notifications You must be signed in to change notification settings

nat-x7205/Udacity_Capstone-Travel-App

Repository files navigation

Capstone project: Travel App

Overview

This is the fifth project of the Front End Web Developer nanodegree program.

The app screenshot

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.

References

Demo

The demo version of the Travel App project.

Used technologies

  • HTML
  • Sass
  • JavaScript
  • Node
  • Express
  • API
  • Webpack
  • Jest
  • Workbox Service Worker

Prerequisites

Node 16.13.0

Get started

  1. Fork the repo and clone the forked repo to you local computer.
  2. In the Terminal window navigate to the local app directory and run npm install command to install all dependencies from package.json file (make sure you have node installed).
  3. Create .env file in the root directory to store the following API keys:
  • GEONAMES_KEY (use your username for this site)
  • WEATHERBIT_API
  • PIXABAY_API .env variables sample
  1. For the development mode run npm run build-dev command – the app will be opened in your default browser tab running on localhost:8080.
  2. For the production mode run npm run build-prod and then npm start. Then you can open the app in a browser tab with the localhost:8081 in the IP address field.

License

The app is free for personal use with the credentials to this repository.

Copyright

Coded by Natalia Petrenko, 2021.

About

This app finds and shows the image and the current weather for the location selected by the user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published