A web application that fetches real-time weather data for a given city. You can enter a city name to retrieve the current weather conditions for many things. This app currently shows the Current Condition, Temperature, Feels-Like Temperature, Humidity, and Wind Speed. Its a simple project that you can mess around with and easy to setup using sites like RapidAPI.
- Randomized background images for each session.
- Displays real-time weather data for any city entered.
- UI design for displaying weather information.
- Input sanitization to prevent security vulnerabilities.
- Frontend: Next.JS, React, Tailwind CSS, TypeScript
- Backend: Node.js, Weather API integration, Azure Functions
- Security: Validator.js for input validation
- API: WeatherAPI
- Clone the repository:
git clone
npm install
WEATHER_API_KEY=
npm run dev
- Input sanitization using Validator.js
- HTTPS and CSP are recommended for deployment.
- Enter a city name in the input field.
- Press the "Get Weather" button to retrieve weather data.
- View the current conditions, temperature, humidity, and more.
- Featured city list.
- Allow users to switch between Fahrenheit and Celsius.
- More Visual UI/UX edits
This project is licensed under the MIT License. See the LICENSE file for details.