Data router and preprocesser is the FAR-EDGE component that enables the edge gateways to interact with field devices.
- Confluent Platform >= 4.1.1
- MongoDB >= 3.6.4
- Node.js >= 10.1.0
- npm >= 5.6.0
- Any message broker that implements the MQTT protocol version 3.1.x or later.
git clone [email protected]:far-edge/data-router-and-preprocessor.git
Create .env
based on .env.example
.
cp .env.example .env
Edit .env
.
cd data-router-and-preprocessor
nodeenv -n 10.1.0 --prebuilt env
. env/bin/activate
npm install
npm start
deactivate_node
npm run lint
npm test
npm run doc