Skip to content

A single page weather application developed in react. The app is deployed on github pages and can also be built to run natively on desktop

Notifications You must be signed in to change notification settings

palakkeni5/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Please find the working app at https://palakkeni5.github.io/Weather-App/

This was app created in React using create-react-app.

The app uses the following libraries

  1. Axios for consuming REST API
  2. Weather data used from Open Weather API : Current Weather Data and 3-hour Forecast 5 days
  3. Location data used from 2 sources : Internal Javascript browser data and map data from React Leaflet
  4. Ant Design is used for the app theme
  5. Recharts.js is used for Graphs in the app.
  6. gh-pages is used to deploy the app.

Integration of the app with Electron.js can be found in the current repository branch app/electron.js. The app can be built to natively run as desktop application in Mac, Windows and Linux.

Runnning this app locally

  1. Clone the app
  2. Create a .env file in the base of the folder
  3. Create an account at Open Weather API
  4. edit .env file : REACT_APP_WEATHER_API_KEY=YOUR_API_KEY
  5. run npm start to run the project locally.

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 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!

About

A single page weather application developed in react. The app is deployed on github pages and can also be built to run natively on desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published