Skip to content

waf/push-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push-demo

Datomic has an interesting feature called the Transaction Report Queue, which allows for a client (or peer) application to monitor changes to a database.

The Clojure code in this repo shows how to use the transaction report queue to monitor transactions, and push changes to a web page using websockets.

Technologies used:

  • Clojure and ClojureScript
  • Ring with Compojure
  • Datomic
  • Sente for websocket communication
  • Reagent (a ClojureScript interface for Facebook's React library) for rendering the UI

Running the Application

  1. Install Datomic
  2. lein run
  3. Open http://localhost:3000

About

Use clojure with datomic's tx-report-queue to push changes to the client via websockets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published