Coder Social home page Coder Social logo

weather's Introduction

WeatherForecaster

sun

Table of Contents

About the Project

WeatherForecaster is designed to bring joy to those needing to check the weather for their day.

Final Product:

Today's Forecast Page:

Weekly Forecast Page:

Installation

  1. Fork this repository.
  2. Clone it down to your local machine with git clone <your SSH Key>.
  3. Navigate into the directory.
  4. Run npm install to compile the React application.
  5. Run npm start to see the app running locally.

Persona

Wireframes

Functionality

Today's Forecast

  • When a user visits the site, they are able to view the default weather location that gives specifics about the weather, such as the current temperature, high and lows of the day, weather conditions, and other details.

Weekly Forecast

  • When a user clicks on the weekly forecast tab, they are able to view the 7 day forecast for their specified location.

Search Location

  • Because not everyone lives in the same city, users are able to search for their desired location via the search bar. Upon entering their city, the page will reload with that city's information. If the city is not found in the API, a message will appear to urge them to search for a different city.

Pin City

  • To create a better user experience, the user can 'pin', or save, a city. Their pinned cities will be easily accessible to them in the subheader. The pin can be removed at anytime by clicking the pin. If the user would like to search by the pinned location, they simply have to click on the location name.

Accessibility

WeatherForecaster received 100% acecessibility audit from Lighthouse.

Error Handling

Dynamic error handling is used so that a user will receive a specific error message based on the error type.

Project Goals

  • Create an accessible app that has a clean UI and simple UX.
  • Create a multi-page UX using React Router.
  • Testing User Stories using Cypress.
  • Gain competency with React and create multipage using Router.
  • Learn and implement TypeScript on front-end and back-end.
  • Make network requests to API endpoints to retrieve and manipulate data.
  • Use Object Oriented Programming (OOP) to drive the design of the application and the code.
  • Ensure the app is following best accessibility practices.
  • Leverage SASS to DRY up CSS.

Technologies Used

  • React
  • ReactRouter
  • JavaScript
  • HTML5
  • CSS3
  • Webpack
  • Cypress

Contact the Creator

weather's People

Contributors

aemiers avatar

Watchers

 avatar

weather's Issues

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.