Giter Site home page Giter Site logo

weather-dashboard's Introduction

Server-Side APIs: Weather Dashboard

The goal was to build a weather dashboard that runs in the browser and features dynamically updated HTML and CSS, using third-party APIs. Developers are often tasked with retrieving data from another application's API and using it in the context of their own. Third-party APIs allow developers to access their data and functionality by making requests with specific parameters to a URL. This app uses the OpenWeather API to retrieve weather data for cities and uses localStorage to store any persistent data.

This app is aimed towards travelers who want to see the weather outlook for multiple cities, so that they can plan a trip accordingly.

Explore the app here: https://jaime-huynh0901.github.io/Weather-Dashboard/

Installation

i. Fork the Github repository.
ii. Clone the forked repo into your local machine using gitbash/terminal to pull the project and data.
iii. Access the index.html, style.css and script.js files and assets via Visual Studio or in your browser to view the code and website respectively.  
iv. Open and explore the app.

Usage

Server-Side API Components Used:

JSON - AJAX - HTTP GET Requests - OpenWeatherMap API

Key Checks Included ensuring the following:

Given a weather dashboard with form inputs:

  1. When user searches for a city, then user is presented with current and future conditions for that city and that city is added to the search history
  2. When user views current weather conditions for that city, then user is presented with the city name, the date, an icon representation of weather conditions, the temperature, the humidity, the wind speed, and the UV index
  3. When user views the UV index, then user is presented with a color that indicates whether the conditions are favorable, moderate, or severe
  4. When user views future weather conditions for that city, then user is presented with a 5-day forecast that displays the date, an icon representation of weather conditions, the temperature, and the humidity
  5. When user clicks on a city in the search history, then user is again presented with current and future conditions for that city
  6. When user opens the weather dashboard, then user is presented with the last searched city forecast

weather-dashboard's People

Contributors

jaime-huynh0901 avatar

Watchers

James Cloos avatar  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.