Hackathon project (at Local Hack Day 2018)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
front-end
github-worker
master-worker
rest-api
scheduler
websocket-server
.gitignore
LICENSE
README.md

README.md

live-commits

A hacked together live commits dashboard. Track commits from a GitHub repo in near real-time, display those commits on a graph to any number of clients via websockets.

Services:

  • Front-end:
    • Chart.js
    • Subscribe to websocket-server via websockets
  • Back-end services:
    • websocket-server
      • Broadcasts messages to subscribed browser clients
    • master-worker
      • Puts commits into Postgresql, then messages websocket-server queue
    • github-worker (WIP)
      • Retrieves latest commit(s) data using the GitHub GraphQL API, then messages the master-worker queue
    • scheduler (WIP)
      • Messages github-worker queue every x minutes to retrieve new GitHub commit data
    • rest-api (WIP)
      • Add other GitHub repositories to track

Dependencies:

  • Node.js
  • PostgreSQL
  • Redis