GithubHelp home page GithubHelp logo

nikhilpandey-dev / fend-capstone-p5-travel-app-np Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12.05 MB

This is a travel weather application developed as the Capstone project for the Udacity Front End Developer Nano-degree

JavaScript 61.63% SCSS 26.67% HTML 11.71%

fend-capstone-p5-travel-app-np's Introduction

Travel Application

This is a travel weather application developed as the Capstone project for the Udacity Front End Developer Nano-degree. This project requires us to build out a travel app that, at a minimum, obtains a desired trip location & date from the user, and displays weather and an image of the location using information obtained from external APIs.

Technologies utilized in this project include:

  • HTML MarkUp
  • CSS Grid and Flexbox for responsive styling
  • Vanilla JS for Front-End Interactivity
  • Node JS back-end
  • Express JS Framework for routing
  • Webpack as a build tool and asset bundler
  • Jest for testing purpose

API's used in the project:

  • GeoNames - for city co-ordinates
  • Weatherbit - for weather forecasts
  • Pixabay - for city images

For all the above we need to register with the respective API provider and het a username/ API Key from them.

The high-level logic of this application is as follows:

  • The user enters a city name, and the travel date of their trip in a form
  • Data is sent to the backend Node server for processing.
    1. The first fetch request is made to the GeoNames API, to get the co-ordinates of the city the user selected 1.Once GeoNames Data is returned, the second fetch request is made to the WeatherBit API, to get the weather forecast using the co-oridnates returned from GeoNames.
    2. Once GeoNames Data is returned, the second fetch request is made to the WeatherBit API, to get the weather forecast using the co-oridnates returned from GeoNames.
    3. Once WeatherBit Data is returned, the final fetch request is made to the Pixabay API using the city name the user selected
  • The results returned from the API Calls are displayed to the user in a div giving details of the place, weather of the place as of the current date and the travel days from today.
  • Also these details are saved in Your Trips section, where the last entered trip is displayed first.
  • The user also has the ability to remove the trips.

Extra Work (as given in the Project Rubric where at least one of them is required)

  • Allow the user to remove the trip.

How to use this repo:

  1. Check if you have node and npm installed , if not then install them first
  2. Download the file from this GitHub repo and cd into the root folder for this app.
  3. Install Node packages using
  • Npm Install
npm install
  • Build the Porject using
npm run build-prod
  • Start the server
npm run start

Author

Nikhil Pandey

Final Certification

I have finally passed the nanodegree and here is the certificate link. Udaicty Front End Web Developer Nanodegree Completion Certificate

fend-capstone-p5-travel-app-np's People

Contributors

nikhilpandey-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.