Status page is website that check the server and the backend data seanding like Server is offline, Server is down,monitor offline etc... Full responsive page.
npm install nodemon to run the app
Status page front end is constructed using Handlebars Templates. and has a simple interface to view:
- Updated Status
- list of incident
Clicking on Stndby on the sidebar will take the user to the mian page of the company.
Status page backend is written in NodeJs and Uses the Mongo database server to store incident and serve them to the frontend. There are two backend processes:
- A user webapp that communicates with the frontend using JSON to display articles
- This app supports two HTTP verbs:
-
GET - to get incidents from the database
-
POST - to add incidents to the database
-
PUT - to update incidents in the database (optional until we know if we need to update incidents)
-
A background webapp that requests new incidents from the selected sources and if they are appropriate adds them to the database
- This app is responsible for:
-
Getting incidents from our server API
-
Checking if there is new incidents
-
Check if the incidents is ongoing incidents
-
If incidents ongoing then
POST
to our user webapp to add the incidents
there are special environment for developers that allowed to add and remove incident encrypted with special authority password