The main purpose of this project is to develop a Python program that interacts with a weather API to retrieve weather data for a specific city and store it in SQLite3 Database. A simple web interface is also developed for visualize the process.
to get started, follow these simple steps:
- Clone the project repository to your local machine
- Open a terminal and run the following two commands:
docker build -t flask-app .
docker run -d -p 5000:5000 flask-app
- Open your browser, and then type the following URL: http://127.0.0.1:5000/
- The city parameter is required (an example is : portland)
- If the country is not provided, by default US
- If the units parameter is not provided, by default metric