Skip to content

Uzoamaka126/barebones-uptime-url-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uptime URL checker

A bare-bones demo client and server-side application that makes use of the in-built functionalities in NodeJs without any third-party packages.

The in-built 'http' module is used to query the server locally. It is also used to serve available HTML, CSS, and JS files. Data + files are all stored locally in memory. Additionally, there are background and CLI services available to run background workers and log files, respectively.

To run the server locally, run the following command below: node index.js

Below is a list of available CLI commands to run when the server is running locally

    'exit': 'Kill the CLI',
    'man': "Show this help page",
    'help': "Alias of the 'man' command",
    'stats': "Get statistics on the operating system and resource utilization",
    'list users': "Show a list of all the registered (undeleted) users in the system",
    'more user info --{userId}': "Show details of a specific user",
    'list checks --up --down': "Show a list of all the active checks in the system, including their state. The '--up' and '--down' flags are both optional",
    'more check info --{checkId}': "Show details of a specified check",
    'list logs': "Show a list of all the log files available to be read (compressed only)",
    'more log info --{fileName}': "Show details of a specified log file",

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published