0.2.0 • Published 6 years ago
feathers-health-check v0.2.0
feathers-health-check
a plugin to perform healthcheck for feathers application
Installation
npm install feathers-health-check --save
Documentation
TBD
Complete Example
Here's an example of a Feathers server that uses feathers-health-check
.
const feathers = require('@feathersjs/feathers');
const healthCheck = require('feathers-health-check');
const mongoose = require('./mongoose');
// Initialize the application
const app = feathers();
// you must have configure mongooseClient using 'feathers-mongoose'
app.configure(mongoose());
// Initialize the plugin
app.configure(healthCheck.mongo('mongooseClient'));
License
Copyright (c) 2018
Licensed under the MIT license.