Skip to content

Sk2k19/Weather_Now_webApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Now - React Weather Application

A simple, responsive, and user-friendly weather application built with React that allows users to quickly check current weather conditions for any city worldwide. It fetches live data from the free Open-Meteo API and supports animated UI elements for enhanced user experience.


Features

  • Input any city and retrieve up-to-date weather data
  • Displays city name, temperature (°C), wind speed (km/h), and local time
  • Animated background and fade-in weather info for a modern look
  • Loading spinner while fetching data
  • Responsive design works seamlessly on all device sizes (mobile, tablet, desktop)
  • Weather condition icons based on live weather codes
  • Built with React, leveraging hooks for state and effects

Screenshots

Weather Now Screenshot


Getting Started

Prerequisites

  • Node.js (v14+ recommended)
  • npm comes bundled with Node.js

Installation

  1. Clone the repository:

git clone https://github.com/your-username/weather-now.git

  1. Navigate to the project directory:

cd weather-now

  1. Install dependencies:

npm install


Running the App

Start the development server:

npm start

Open your browser and visit http://localhost:3000 to view the app.


Technologies Used

  • React (with functional components and hooks)
  • Open-Meteo public weather API
  • React Icons for weather and UI icons
  • CSS3 for styling and animations
  • Responsive design with CSS flexbox and media queries

Project Structure

  • src/
    • App.js - Main React component containing UI and logic for fetching/displaying weather
    • App.css - Styling for the app including animations and responsive layout
    • Other standard React files

Future Enhancements

  • Add more detailed weather forecasts (hourly/daily)
  • Include user location-based weather detection
  • Dark mode toggle
  • Improved error handling and notifications
  • Unit and integration tests

Author


License

This project is open source and available under the MIT License.


Acknowledgments

  • Open-Meteo for their free and reliable weather API
  • React community and documentation
  • React Icons for beautiful scalable icons

If you have any questions or suggestions, feel free to open an issue or contact me directly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors