Skip to content

A weather application made using React and the Open Weather Map API

Notifications You must be signed in to change notification settings

liulalemx/react-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

A weather application made using React and the Open Weather Map API

This project was bootstrapped with Create React App.

App Usage

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Usage

  1. Clone the repository.
  2. Install the required packages.
  3. Head to OpenWeatherMap and get an API key.
  4. Assing the value of the API key to the auth variable in ./react-weather-app/src/App.js.
  5. Run the project.

Assigning the auth variable value

function App() {
  ...
  const auth = REACT_APP_API_KEY; //Replace API key here
  ...

Available Scripts

In the project directory, you can run:

npm install

Install the required packages.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Authors

  • Liul Alemayehu - Initial work

About

A weather application made using React and the Open Weather Map API

Topics

Resources

Stars

Watchers

Forks