Skip to content

IamAravindKumar/React-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Weather App — A simple weather app build with weather API using React JS

Dynamic Background based on the weather temperature

Screenshot of Cloud

Screenshot of Haze

Technologies Used

  • HTML5
  • CSS3
  • React JS
  • weather API

Getting Started with React Weather App

  • clone app
  • npm install
  • Get API key from weather API website.
  • Create .env.local file in the root folder and add below code REACT_APP_WEATHER_API_KEY=Your API Key REACT_APP_WEATHER_API_BASEURL=https://api.openweathermap.org/data/2.5/
  • npm start

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

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

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

A simple weather app build using React JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published