Skip to content

nitin-nagaraj/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 built using React and fetching the data from OpenWeatherMap API and GeoDB API.

Live Demo

Checkout the Live Demo here

Features

  • User can search for the current weather of any city
  • Autocomplete of city name in search bar
  • Extra details -> Wind/Humidty,etc
  • 7 day weather forecast

Screenshots

Screenshot-2022-07-16-at-02-51-06.png

Screenshot-2022-07-16-at-02-54-50.png

Tech Stack

Client: React

APIs:

OpenWeather API: (https://openweathermap.org/)

GeoDB Cities API: (https://rapidapi.com/wirefreethought/api/geodb-cities/)

Run Locally

Clone the project

  git clone https://github.com/nitin-nagaraj-au26/weather-app.git

Go to the project directory

  cd weather-app

Install dependencies

  npm install

Start the server

  npm run start

Environment Variables

To run this project, you will need to add the following API Keys to the api.js file

  • From RapidAPI - GeoDB API_KEY

    GEO_API_URL

    X-RapidAPI-Key

    X-RapidAPI-Host

  • From OpenWeatherMap API

    WEATHER_API_URL

    WEATHER_API_KEY

Feedback

If you have any feedback, please reach out to us at [email protected]

About

A weather application built using React and fetching the data from OpenWeatherMap API and GeoDB API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors