Skip to content

ItsAnkitPatel/weather-app

Repository files navigation

Weather-App

Weather-App is a web application designed to provide users with real-time weather information based on their location search. It utilizes various APIs to fetch weather and geographical data and presents it in an intuitive and visually appealing manner using Lottie animations.

Project-Demo.mp4

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/weather-app.git
  1. Navigate to the project directory:
cd weather-app
  1. Install the required dependencies:
npm install
  1. Set up your environment variables by copying the .env.example file to a new file named .env.local and filling in the necessary API keys and database URI.
  2. Start the development server:
npm run dev

Usage

After starting the development server, open http://localhost:3000 in your browser to view the application. You can search for weather information by city.

Built With Next.js - The React framework used Mongoose - MongoDB object modeling for Node.js Tailwind CSS - A utility-first CSS framework LottieFiles - For animated weather icons

Visitors