@nexus-switchboard/nexus-mod-liveness
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Nexus Module - Liveness

Simple module that implements only one endpoint which can be used as a healthcheck for infrastructure liveness checks.

Features

Exposes a route at a static GET endpoint that can be queried by your health checker.

How It Works

This is the absolute simplest possible module. Just by installing the module there will be a GET endpoint available at:

https://<your-domain>/<your-nexus-root>/m/liveness/up

The output from this endpoint if everything is working correctly is:

   {
       "message": "up"
   }    

Readme

Keywords

Package Sidebar

Install

npm i @nexus-switchboard/nexus-mod-liveness

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

4.46 kB

Total Files

9

Last publish

Collaborators

  • kshehadeh