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!
✅ 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.
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)
- Node.js & npm installed. Get it here.
- Weather API Key from OpenWeatherMap.
Clone the repository and install dependencies:
git clone https://github.com/muke2110/weather.git
cd weather
npm install
- Create a
.env
file in the root directory. - Add the following line:
API_KEY=your_api_key_here
Start the development server:
node app.js
Access the application at:
🌍 http://localhost:3000/
🔹 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.
📌 Node.js Documentation
📌 Express.js Guide
📌 OpenWeatherMap API
📌 EJS Templating
This project is licensed under the MIT License. See the LICENSE file for details.
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! 🌤️