Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/slye3d/slyeanalysis

Slye's analysis panel
https://github.com/slye3d/slyeanalysis

analytics analyzer charting-library graphing monitoring monitoring-server server-monitoring view-tracking

Last synced: about 2 months ago
JSON representation

Slye's analysis panel

Awesome Lists containing this project

README

        

# SlyeAnalysis
Slye's analysis panel

![SlyeAnalysis](./screen_shots/photo_2017-10-26_15-21-01.jpg)

# Running server
Install the server globally:
```
sudo npm install -g slye-analysis
```
and then start the server:
```
slye-analysis
```
It will starts a TCP server listing at `9898` and HTTP Server for Human-Interface at `9899`

# Use with express:

main.js
```js
var express = require('express');
var SlyeAnalysis = require('SlyeAnalysis')('127.0.0.1', 9898, 'myAwesomeApp')
var app = express();
app.set('Analysis', SlyeAnalysis)
```
somewhere else:
```js
app.get('/someWhere', function(req, res, next){
...
req.app.get('Analysis').view(req, 'my.awsome.endpoint')
...
})
```