Skip to content

A basic app that forecasts the weather for 5 cities (Lagos, Abuja, London, Los Angeles, Paris). Shows the current weather forecast for the day, and 4 days subsequently (Forecast for 5 days total). Also gets a user's location automatically and generate a forecast based on this.

Notifications You must be signed in to change notification settings

AregbesolaOJ/weather-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

This project was bootstrapped with Create React App.

Get Started

This repository contains the source code for the Weather Forecast App!

A basic application that:

  • Forecasts the weather for 5 cities (Lagos, Abuja, London, Los Angeles, Paris).
  • Shows the current weather forecast for the day, and 4 days subsequently (Forecast for 5 days total).
  • Gets a user's location automatically and generate a forecast based on this.
  • Leverages the Open Weather API to get weather information for each cities.
  • Built in the following languages: HTML, CSS, Javascript (with React as a front end library choice)

Running Locally

  • Clone the project repository over HTTPS by running git clone https://github.com/AregbesolaOJ/weather-forecast.git in your directory on the local terminal.
  • Create a root .env file locally by using the .env.sample file in the root directory as an example. Fill in needed variables with real values - this would be provided on request.
  • Run npm install and npm start to install all necessary dependencies and create a local instance respectively, which should default to running on port 3000.
  • Verify that your local instance is ALIVE in a browser by accessing http://localhost:3000/. The page will reload if you make edits. You will also see any lint errors in the console.

Testing

  • Run npm run test to run all tests. Launches the test runner in the interactive watch mode.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

A basic app that forecasts the weather for 5 cities (Lagos, Abuja, London, Los Angeles, Paris). Shows the current weather forecast for the day, and 4 days subsequently (Forecast for 5 days total). Also gets a user's location automatically and generate a forecast based on this.

Resources

Stars

Watchers

Forks

Packages

No packages published