0.2.0 • Published 6 years ago

feathers-health-check v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

feathers-health-check

Build Status Code Climate Test Coverage Dependency Status Download Status

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.