Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 729 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 729 Bytes

Node.js Minimal Streaming App

How it works

  1. A kafka consumer is started and messages are accepted in a special format.
  2. A memgraph client connects to Memgraph on port 7687.
  3. The consumer script parses the messages and inserts data from them to Memgraph using Cypher via the bolt protocol.

How to run

  1. Install dependencies npm install
  2. Run kafka on port 9092, instructions
  3. Run memgraph on port 7687, instructions
  4. Run the app with npm run backend
  5. Run a producer, instructions