This is a weather web application built with Next.js and TailwindCSS. It provides real-time weather information for a specified location. The weather data is fetched from weatherAPI.com.
- Get real-time weather information
- User-friendly interface built with TailwindCSS
- Powered by Next.js for server-side rendering and fast performance
-
Clone the repository:
git clone https://github.com/rohitvpatil0810/weather-app.git cd weather-app
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy the
.env.example
file to.env.local
:cp .env.example .env.local
- Get your API key from weatherAPI.com and add it to the
.env.local
file.
- Copy the
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
- Thanks to weatherAPI.com for providing the weather data API.