The Weather Dashboard is a user-friendly application designed to provide real-time weather information by city name.
pip3 install python
pip3 install flask
pip3 install requests
pip3 install flask-cors
pip3 install python-dotenvAPI Key: Obtain an API key from OpenWeather to fetch weather data.
-
Clone the Repository
git clone https://github.com/Shrrutii29/Weather_Dashboard.git
-
API KEY create .env file and write in it following : API_KEY=your_openweathermap_api_key
-
replace API_URL with folllowing in script.py
http://127.0.0.1:8080/
-
Start Flask Server
python3 main.py
-
http://127.0.0.1:8080/
- sign up on replit
- add all files
- in secret write API_KEY=your_openweathermap_api_key
- run main.py
- my replit deploy url is as following for reference, you will get in similar form
https://c6b1ce78-47b5-4158-bbac-6d7a9fb83342-00-364lentosq3f0.sisko.replit.dev/weather
- replace API_URL with that in script.py
- and now you can access weatherDashboard using that URL
- Frontend HTML, CSS and Javascript
- Backend Flask
- clear previous search history
- shortcut to search previous\y searched city by clicking it
- dark mode / light mode facility
- autocomplete city name
- OpenWeather's free tier limits the number of requests
- Limitations for deployment using replit


