sagelga / weather

Weather forecast website, powered by Open Weather and ReactJS

Home Page:https://weather.sagelga.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Weather App Netlify Status

a weather app created in React. Powered by OpenWeatherMap and Unsplash.

Description

This is a React-based weather application that leverages the OpenWeatherMap API for fetching weather data and Tailwind CSS for styling. Additionally, it utilizes Icons8 for weather icons and Unsplash for background images. The source code is later deployed, tested, and hosted on Netlify.

Visit http://weather.sagelga.com to see the app in action.

Screenshot 2566-05-21 at 20 57 59

Prequisites

  • Node.js version 16.20.0 or higher

Installation

If you wish to run the app locally, you can clone the repository and run the following commands:

npm install
npm start

but we deployed this project in Netlify. You will have to use the Netlify CLI to run the project locally.

npm install -g netlify-cli
netlify env:import .env
netlify dev

Components

graph LR
    App --> Announcement
    App --> Navbar
    Navbar --> DarkModeToggle
    Navbar --> MenuTab
    Navbar --> WeatherUnitToggle
    Navbar --> Searchbox
    App --> TemperatureBody
    App --> TemperatureForecast
    TemperatureForecast --> ForecastCard
    App --> Dashboard
    Dashboard --> BasicCard
    App --> Snackbar
    App --> Footer

APIs

Here's all we are going to use API for

Open Weather Map API

Unsplash API

IP Info API

Resources

Tools

Here's all the tools I used to develop this project

  • Netlify
  • Postman
  • Visual Studio Code
  • GitHub
  • Cloudflare

About

Weather forecast website, powered by Open Weather and ReactJS

https://weather.sagelga.com/


Languages

Language:JavaScript 89.7%Language:CSS 6.5%Language:HTML 3.8%