Skip to content

Files

Latest commit

3244980 · Oct 26, 2021

History

History

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