Skip to content

Gratheon/event-stream-filter

Repository files navigation

gratheon / event-stream-filter

A service that streams backend events to the frontend over websocket protocol using GraphQL notation and filtering based on graphql subscriptions.

Architecture

flowchart LR
    web-app("<a href='https://github.com/Gratheon/web-app'>web-app</a>") --> graphql-router
    web-app --"subscribe to events"--> event-stream-filter("<a href='https://github.com/Gratheon/event-stream-filter'>event-stream-filter</a>") --> redis
    
    graphql-router --> swarm-api("<a href='https://github.com/Gratheon/swarm-api'>swarm-api</a>") --uid.apiary.updated--> redis[("<a href='https://github.com/Gratheon/redis'>redis pub-sub</a>")]    

URLs

graphiql locally - http://localhost:8300

Usage

Install:

nvm use
npm install

Run natively:

npm run start

Run with docker:

make start