Are-You-OK
Are-You-OK is a Flask-based, responsive Web App to monitor whether the Internet Service you care about is still working.
Demo-Preview
Get Started
Before using this project, please make sure you have:
- Python
- Flask
To use it, you should first clone the repo on your device using the command below:
git clone https://github.com/qyxtim/Are-You-OK.git
Then, cd into the directory you want to access and use the command below to set up your database, and administrator username and password:
python init_db.oy
Then, just type flask run and enjoy.
Development
The implementation of this Web App is split into five files:
init_db.pyinitializes the databaseapp.pyis in charge of using flask to create correct routinglogin.pyprovides the functionality to check whether the user is logged innetwork.pyprovides two functions.is_valid_urlis used to check the validity of the user's input url.pingis used to check whether the online service is still workingdb.pyenables the database to be opened by Context Manager
New Features in the Future
- Error Handling
- Delete websites added before
