1.0.0 • Published 6 years ago

@rahmatsaeedi/is-up v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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.