You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.
The idea is to simplify the implementation in the backend of new trackers that the users can add in one click.
Goals:
Addons are JS modules (can be added with npm or in the code base)
Should be configurable from config.js
Tracker should have access to a great API to manage "crons", oauth, ...
How a user can add trackers to his reportr instance ?
/* Trackers */
"trackers": [
{
'module': 'module_name', // inside the trackers directory or installed using npm
'config': {
/* Base configuration for the service : api keys, ... */
}
}
]
Code base for a tracker
module.exports = {
name: "My Tracker",
description: "My incredible tracker",
icon: "http://...",
setup: function(tracker) {
/* Call with a tracker object at the server initialization */
},
}
API for trackers
tracker.config // Config object
tracker.addCron(function(user) { }, delay) // Add a cron to indexe events for users
The text was updated successfully, but these errors were encountered:
The idea is to simplify the implementation in the backend of new trackers that the users can add in one click.
Goals:
How a user can add trackers to his reportr instance ?
Code base for a tracker
API for trackers
The text was updated successfully, but these errors were encountered: