monitorest
v1.0.4
Published
A monitor for Express.js REST Api
Downloads
17
Maintainers
Readme
Monitorest
A lightweight monitor for express apps using Apache ECharts and Socket.io.
Inspired by express-status-monitor
Installation
npm install monitorest --save
Usage
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
Configurations
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
}
});