A saas backend application that tracks and monitors website(s) up and down times.
- Monitors, detects and tracks website's up and down times
- Provides an API that responds with logs of historical stats for up and down times
- Notifies specific group of people via email (and/or SMS) when a website goes down and comes back up
- Able to perform operations all operations with the highest level of complications and sophistications applicable considered.
- to track multiple websites simultaneously
- allows all common forms of authorization scheme as available on the destination server
- enforces authorization on system-system data exchange via a scheme of choice
- for data exchange interface provided to be able to return a properly encrypted analyzed historical data that is ready for use
- and every other standard SaaS software requirement
To get it running on your local machine, follow the steps below:
1). Run the commands below in your terminal:
git clone [email protected]:aybruhm/saas-website-monitor.git
2). Change directory to saas-website-monitor.
3). Create a virtual environment
python -m virtualenv venv
4). Activate the virutal environment and Install the requirements with the command below:
source venv/bin/activate
pip install -r requirements.txt
5). Rename the .env.template
file to .env
and update the secret key value.
6). Run the command below to ensure that all unit tests are passing.
python manage.py test
7). Ensure that you have redis installed on your local machine. If you have installed it, kindly start it with the command below:
redis-server
8). Run the development server with
python manage.py runserver
9). Start your celery worker in a different terminal (virtual env must be activated) session with the below command:
python -m celery -A saas worker
10). Start your celery beat in a different terminal (virtual env must be activated) session with the below command:
python -m celery -A saas beat
11). To keep track of your celery task progress and history. Run the command below in a different terminal session:
python -m celery -A saas flower --host=127.0.0.1 --port=5588
12). Launch your browser and navigate to the api docs:
http://127.0.0.1:8000/docs/