2.1.0 • Published 4 years ago

node-api-health v2.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

node-api-health

Node Js and Express middleware to monitor and log API access. The logs, among other metrics, are displayed realtime on a live dashboard.

Getting Started

1 Sign up on api-health website https://apihealth.co/logs.

2 Create an app via the dashboard https://apihealth.co/dashboard

2 Copy the credentials provided to your .env file

Example: API_HEALTH_API_KEY=https://api.apihealth.co/api/sendlogs?apiKey=sample_key

3 Configure your Node JS API server

Installation

Install the node-api-health monitoring npm package available through the npm registry

   npm install node-api-health --save

Configuring the Node server

const apiHealth = require("node-api-health");

// Express server initialisation
const app = express();

app.use(apiHealth)

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Inspiration
  • etc
2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

5 years ago