- 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 goesup/down
. These notification alerts can be in following formats :-- SMS notification.
- Email notification.
- Realtime desktop alert.
- CLI support
node index.js
Localhost url :
http://localhost:3000
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}