An adaptor to use as a middleware in backend to log any request to ICT Dashboard Backend
- Install the package
npm install @itu-reinhard/itu_ict_dashboard_adaptor
- Import in the main file, like
index.js
.
const itu_ict_dashboard_adaptor = require("@itu-reinhard/itu_ict_dashboard_adaptor")
- Use as a middleware
app.use(itu_ict_dashboard_adaptor({
url: <itu-ict-dashboard-backend-url-here>
apiKey: <api-key-here>
}))
Reinhard Kevin at PT Indotruck Utama