Open API for Analytics defines a set of public endpoints that enable external systems to interact with the Distributed Data Analytics component both at the edge and at the ledger tier, and deploy their own custom data analytics logic.
- Confluent Platform >= 4.1.1
- MongoDB >= 3.6.4
- Node.js >= 10.1.0
- npm >= 5.6.0
git clone git@github.com:far-edge/open-api-for-analytics.git
Create .env
based on .env.example
.
cp .env.example .env
Edit .env
.
cd open-api-for-analytics
nodeenv -n 10.1.0 --prebuilt env
. env/bin/activate
npm install
npm start
deactivate_node
npm run lint
npm test
npm run doc