Travel Application Project
This project create an asynchronous web app that will retrieve the user input where the location he is traveling to and the date he is leaving. If the trip is within a week, you will get the current weather forecast. If the trip is in the future, you will get a predicted forecast. We are going to use the Weatherbit API(https://www.weatherbit.io/api). Weatherbit API has one problem, it only takes in coordinates for weather data—it’s that specific. So, we’ll need to get those coordinates from the Geonames API(https://www.geonames.org/export/web-services.html). Once we have all of this data, we’ll want to display an image of the location entered; for this, we will be using the Pixabay API(https://pixabay.com/api/docs).
- Node.js & Express.js.
- Webpack (Loaders, Plugins, Mode).
- Sass.
- Bundle & Minify js and styles in the production environment.
- Service workers.
- Testing (Unit Test using Jest).
node.js v16.17.0 (install 16.17.0 version from the Internet) Check if you have it by typing this into a terminal like cmd or git bash.
node -v
Open a terminal and make sure it is open in the root folder (udacity-frontend-nanodegrees-travel-app-project), write the command below, and then run it (by pressing enter on the keyboard):
npm i
In root folder (udacity-frontend-nanodegrees-travel-app-project) run:
npm run build-prod
then run:
npm run dev
In root folder (udacity-frontend-nanodegrees-travel-app-project) run:
npm run test