Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

This project is built by FARM Stack to check the website status and whether it's up or not. Website status will check by a python program every 5 minutes and update the databse.

License

Notifications You must be signed in to change notification settings

Niraj-Dilshan/WebSiteStatusChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Site Status Checker Using FARM Stack
(FastAPI, React, and MongoDB)

This project is built by FARM Stack to check the website status and whether it's up or not. Website status will check by a python program every 5 minutes and update the databse.

open a terminal window

First clone the repository

git clone https://github.com/Niraj-Dilshan/WebSiteStatusChecker.git

Then change your working directory to the project file

cd WebSiteStatusChecker

Then lets setup the backend first

cd backend

In Ubuntu

install python virtual environment

sudo apt install python3-virtualenv

Then create python virtual environment

virtualenv virtualenv_name

After that activate environment

source virtualenv_name/bin/activate

install dependencies

pip install -r requirements.txt

In Windows

Install python virtual environment

pip install virtualenv

Then create python virtual environment

virtualenv virtualenv_name

After that activate environment

virtualenv_name\Scripts\activate

install dependencies

pip install -r requirements.txt

After that add .env file to the /backend, make sure you add your mongo db connection link

MONGO_URI="mongodb+srv://username:[email protected]/?retryWrites=true&w=majority"

startup the FAST-API backend

uvicorn main:app --reload

open another terminal window

Then change your working directory to the project file

cd WebSiteStatusChecker

Then go to backend folder

cd backend

Run web site status checker script

python3 webcheck.py

open another terminal window

Then lets setup the frontend

cd frontend

if you dont have react installed

npm i

then startup the frontend

npm start

About

This project is built by FARM Stack to check the website status and whether it's up or not. Website status will check by a python program every 5 minutes and update the databse.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published