Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.46 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.46 KB

is-up

A web-status monitoring sites that checks whether they are down or not; A NodeJS site that can run without external dependencies.

Product

design & functionality with pSQL

Getting Started

  1. Install using the npm install command.
  2. Create the database schema:
  3. Start the web server npm run start
  4. Go to http://localhost/ in your browser.

Dependencies

See package.json

  • Node JS 12
  • optionally pg & pSQL

Configurations

Some configuration options, such as ports, hashing secret, applicaton name, ... are provided in the config.js.

Static files in the public folder are accessessable via http://localhost/public/*FILENAME* route.

Additional routes can be configured via the router.js and handlers.js.

Templates are served via the getTemplate(TEMPLATENAME) function, and are located in the templates folder.