Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 2.75 KB

README.md

File metadata and controls

92 lines (70 loc) · 2.75 KB

🌦️ Weather Application

🌍 Overview

Welcome to the Weather Application, a real-time weather tracking platform that provides instant weather updates for any city around the world. Get accurate temperature readings, humidity levels, and weather conditions at your fingertips!


⚡ Features

Live Weather Data - Fetch real-time weather conditions instantly.
City-Based Search - Enter any city name to view its current weather.
User-Friendly Interface - Simple and intuitive UI powered by EJS templates.
Mobile Responsive - Works seamlessly on desktops and mobile devices.
Fast & Lightweight - Optimized for speed with minimal dependencies.


🏗️ Project Structure

weather/
├── node_modules/           # Node.js modules
├── public/                 # Static assets (CSS, JS, Images)
├── views/                  # EJS templates for rendering UI
├── app.js                  # Main backend logic
├── package.json            # Dependencies and scripts
├── package-lock.json       # Dependency lockfile
└── .env                    # API keys and configuration (not included in repo)

🚀 Getting Started

1️⃣ Prerequisites

2️⃣ Installation

Clone the repository and install dependencies:

git clone https://github.com/muke2110/weather.git
cd weather
npm install

3️⃣ API Configuration

  1. Create a .env file in the root directory.
  2. Add the following line:
    API_KEY=your_api_key_here

4️⃣ Run the Application

Start the development server:

node app.js

Access the application at:
🌍 http://localhost:3000/


🔍 How It Works

🔹 Users enter a city name in the search bar.
🔹 The app fetches real-time weather data from OpenWeatherMap API.
🔹 Weather details like temperature, humidity, and conditions are displayed.
🔹 A clean UI presents all relevant details in an engaging manner.


📚 Learn More

📌 Node.js Documentation
📌 Express.js Guide
📌 OpenWeatherMap API
📌 EJS Templating


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


📞 Contact

For any queries or suggestions, feel free to reach out!
📧 Email: mukesh.nagineni@gmail.com
📱 Phone: +91 91003 80866
🌐 GitHub: muke2110


Stay updated with the latest weather conditions anytime, anywhere! 🌤️