This is a dynamic and user-friendly application that provides users with real-time weather conditions and local time for any location around the world.
- Real-time Weather Information: Enter any city or country to get real-time temperature and weather conditions.
- Local Time: The application also fetches and displays the local time of the entered location.
- Backend: Flask, Python
- Frontend: Vue.js, TypeScript
- APIs: OpenCageData API (for geocoding), OpenWeatherMap API (for weather data)
Ensure you have the following installed on your local machine:
- Node.js and npm (for the frontend)
- Python and pip (for the backend)
- Clone the repository to your local machine using
git clone
. - Navigate into the cloned repository.
- Inside the frontend directory, install the necessary dependencies using
npm install
. - Navigate to the backend directory and install the necessary Python libraries using
pip install -r requirements.txt
. - Run the Flask server with the command
python app.py
. - In a separate terminal window, navigate to the frontend directory and run the Vue.js server with
npm run dev
. - Open your web browser and visit
http://localhost:5173
to start using the application!
Enter a location in the input field and click on the "Get Weather" button. The application will display the current weather conditions, temperature, and local time for the input location.
This is a very basic app so contributions, issues, and feature requests are welcome!