Skip to content

Sathyajhith-S-S/Weather-teller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather teller

This weather application is designed to provide real-time weather data and forecasts based on user input or automatic location detection. It integrates with the OpenWeatherMap API to fetch weather information and display it in an easy-to-read format.

How to run the application

Clone the repository to your local machine using the command:
git clone https://github.com/Sathyajhith-S-S/Weather-teller.git

Navigate to the project directory:
cd Weather-teller

Install dependencies using npm:
npm install

Create a .env file in the root directory and add your OpenWeatherMap API key:
REACT_APP_WEATHER_API_KEY=your_api_key_here

Start the development server:
npm start

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

Dependencies

Dependencies:
React
Axios
OpenWeatherMap API

Installation

Node.js and npm must be installed on your machine.
Clone the repository using the command mentioned above.
Navigate to the project directory in the terminal.
Run npm install to install all required dependencies.

Configuration

Ensure you have an API key from OpenWeatherMap and add it to the .env file as shown in the "How to Run the Application" section.

Testing

Automated tests are not included in this version of the application.
Manual testing can be done by entering different locations and verifying the weather data displayed.

Issues and troubleshooting

If you encounter any issues with API requests or data display, check your API key in the .env file and ensure it's correct.
Common issues may include incorrect API key, network connectivity problems, or browser compatibility issues.
For further assistance or to report bugs, please contact sathyajhiths@gmail.com

Contact information

For any queries or assistance during the evaluation, please contact sathyajhiths@gmail.com

About

This weather application is designed to provide real-time weather data and forecasts based on user input or automatic location detection. It integrates with the OpenWeatherMap API to fetch weather information and display it in an easy-to-read format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors