Skip to content

ayushg03/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Application

This is a simple weather application that fetches weather data based on a user-provided location.

Prerequisites

  • Node.js (v12 or higher) and npm (Node Package Manager) installed on your local machine.

Installation

  1. Clone the repository to your local machine:

    git clone

  2. Install the dependencies by navigating to the project directory and running the following command:

    cd Weather-App

    npm install

Usage

To start the server, navigate to the server directory and run the following command:

cd server

node server.js

This will start the backend server that fetches weather data.

In a separate terminal window, navigate back to the project directory and start the React app by running the following command:

npm start

This will start the development server and launch the weather application in your default web browser.

Open your web browser and visit http://localhost:3000 to view the weather application.

Troubleshooting

If you encounter any issues during the installation or running of the application, please make sure you have followed the steps correctly and have all the prerequisites installed.

If you need further assistance, please open an issue in the repository or contact the project maintainers.