Skip to content

Prateek-Wayne/Weather-App

Repository files navigation

☁️ Weather App ☀️

This is a weather application built with Next.js, Tailwind CSS, and Jotai for state management. It uses the OpenWeatherMap API to fetch weather data.

🚀 Live Demo

The application is deployed and can be accessed at https://weather-app-nine-gamma-44.vercel.app/

🌟 Features

  • Fetch and display weather data from the OpenWeatherMap API
  • Search for weather information by location
  • Responsive design that works on both desktop and mobile devices

🚀 Installation

First, clone the repository:

🎮 Running the Application

git clone <repository-url>

Then, navigate into the project directory and install the dependencies:

cd nextjs
npm install

To start the development server:

npm run dev

🔑 Environment Variables

You’ll need to add your OpenWeatherMap API key to a .env file in the root of your project

NEXT_PUBLIC_WEATHER_KEY=your_openweathermap_api_key

Replace your_openweathermap_api_key with your actual API key.

🤝 Contributing

Contributions are welcome! Please feel free to submit a pull request.

📄 License

This project is licensed under the terms of the MIT license.