Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published