Skip to content

no-npm, no-frameworks, old-style-js library implemented to monitor website uptimes

Notifications You must be signed in to change notification settings

nikshinde1996/uptime-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uptime-monitior - no framework, no npm.

Development CheckPoints

  • The API listens on PORT and accepts incoming HTTP requests for POST, GET, PUT, DELETE and HEAD.
  • The API allows client to connect, create a new user , then edit and delete the user.
  • The API allows users to sign in, which gives them tokens that they can use for subsequent authentication requests.
  • The API allows users to sign out, which invalidates their token.
  • The API allows a signed-in user to use their token to create a new check.
  • The API allows signed-in user to EDIT or DELETE any of their checks.
  • In background, workers perform all the checks at appropriate times and send alerts to the users when site goes up/down. These notification alerts can be in following formats :-
    • SMS notification.
    • Email notification.
    • Realtime desktop alert.
  • CLI support

Installation

node index.js

Localhost url : http://localhost:3000

CLI - Commands

  • man
  • help
  • exit
  • stats
  • list users
  • more user info --{userId}
  • list checks {optional : --up --down}
  • more check info --{checkId}
  • list logs
  • more log info --{logFileName}

About

no-npm, no-frameworks, old-style-js library implemented to monitor website uptimes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published