Weather Forecast API Service
A weather forecast application which can interact with the weather api and show a weather forecast for a particular city. The application would allow the users to login, select a country and city from the list and extract forecast information for a particular date range. It also allows the app maintainers to perform analytics and display top n users who have access forecast service and most commonly queried city and country.
This application has a dependency on SQL Lite. To set this application in your local machine, follow the instructures
- Create a new virtual environment
python3 -m venv venv
- Activate virtual environment
source venv/bin/activate
- Pip install all the requirements
pip install -r requirements.txt
- Run the application
FLASK_RUN_PORT=5900 flask run
- Invoke
http://127.0.0.1:5900/
on chrome to verify the launch.
- Traverse to frontend folder.
- Run
npm start
oryarn start
.
Note- Database should be connected for the APIs to work.
- Adding flask-login as a dependency to track sessions of users and add their analytics on the basis of time spent on app.
- Adding Next-Day forecast data to frontend.
- Unit and integration testing.