Pipelinr
Pipelinr is a realtime data processing and visualization application to explore large datasets. Data processing, interaction and analysis make it possible to recognize patterns and trends in your data.
Project Setup
Be sure you have
Clone the Pipelinr Project into your favorite project folders
Additional
- On Windows: make sure the npm AppData exists: C:\Users\your_account\AppData\Roaming\npm\
- On Windows: make sure Git is installed and registered in PATH variable
Open 3 command prompts:
First command prompt:
- Make sure your data storage path exists (Windows default: C:\data\db)
- move to your MongoDB installation directory: cd mongoDBdirectory/bin
mongod.exe
Second command prompt:
- move to Pipelinr Backend: cd yourFolder/Pipelinr/Backend
node app.js
Third command prompt:
- move to Pipelinr Frontend: cd yourFolder/Pipelinr/Frontend
npm install
bower install
grunt serve
The first initializations of the application should take some time.
After that you will find the application at http://localhost:8000/app
Project Structure
Interface
How to publish your data to Pipelinr?
Authentification
- Before publishing data to Pipelinr, you need to register a new user in Pipelinr. When you make use of the ../api/v1/.. resources, you have to send an authentification token as header to the service. You get the authenfication token when you login:
Login
- Resource: POST: ../login
- Json: var data = { email: email, password: password };
- Data structure:
- email: String
- password: String
Create a pipeline
- Resource: POST: ../api/v1/pipelines
- Header: var headers: { token: token };
- Json: var data = { name: name, sampling: { task: task, perm: perm, rate: rate } };
- Data structure:
- name: String
- sampling: Object, null
- task: Enumeration ["frequencySampling", "randomSampling", "intervalSampling"]
- perm: Boolean
- rate: Integer [1..99]
Create a dataset in a pipeline
- Resource: POST: ../api/v1/pipelines/:id/datasets
- Header: var headers: { token: token };
- Json: var data = { key: key, type: type };
- Data structure:
- key: String
- type: Enumeration ["string", "int"]
Create a value in a dataset
- Resource: POST: ../api/v1/pipelines/:id/datasets/:id/values
- Header: var headers: { token: token };
- Json: var data = { value: value, level: level, timestamp: timestamp };
- Data structure:
- value: String
- level: Enumeration ["error", "warning"] - für Datensätze vom Typ "string", sonst null
- timestamp: String ["DD MM YYYY, HH:mm:ss:SSS"]