Inspired by express-status-monitor
npm install monitorest --save
To create a monitored express app:
import { monitorest } from "monitorest";
import express from "express";
const app = monitorest(express());
A realtime monitoring board will be available at /monitorest
You can add configurations for the client:
import { monitorest } from "monitorest";
import express from "express";
const app = monitorest(express(), {
auth: {
username: process.env.monitorUser,
password: process.env.monitorPassword
}
});