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.
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:
React
Axios
OpenWeatherMap API
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.
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.
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.
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
For any queries or assistance during the evaluation, please contact sathyajhiths@gmail.com