Skip to content

Repository files navigation

Weather Lens — Real-Time Weather Application

A modern and responsive weather application built with React that provides real-time weather information for cities around the world. It features a clean UI, fast search, and detailed weather insights powered by the OpenWeatherMap API.

React Vite Tailwind CSS Context API OpenWeatherMap License


Live Demo

Live Preview:(https://alamin-weather-lens.vercel.app/)


Features

Weather

  • Search weather by city name
  • Real-time weather data
  • Current temperature
  • Feels like temperature
  • Humidity
  • Wind speed
  • Visibility
  • Atmospheric pressure
  • Sunrise & Sunset time
  • Weather condition with icons

User Experience

  • Responsive Design
  • Beautiful Weather UI
  • Loading State
  • Error Handling
  • Search Suggestions
  • Fast Performance

Purpose

  • Learn React Fundamentals
  • Practice Context API
  • API Integration
  • State Management
  • Responsive UI Development

🛠️ Tech Stack

Frontend APIs & Services
React OpenWeatherMap API
Vite REST API
Tailwind CSS
Lucide React
Context API

Getting Started

Clone the Repository

git clone https://github.com/alamin-one/weather-lens.git

Navigate to the Project

cd weather-lens

Install Dependencies

npm install

Setup Environment Variables

Create a .env.local file in the project root.

VITE_OPENWEATHER_API_KEY=your_api_key_here

Run the Development Server

npm run dev

Open your browser and visit:

http://localhost:5173

Screenshot

Weather Lens


Repository

https://github.com/alamin-one/Weather-Lens


Developed By

Al-Amin

GitHub: https://github.com/alamin-one


License

This project is licensed under the MIT License.


Support

If you found this project helpful, consider giving it a on GitHub.

About

A real-time weather app built with React & Tailwind CSS. Search any city, use GPS location, and get 5-day forecasts powered by OpenWeatherMap API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages