DavidVujic / sente-with-reagent-and-re-frame

This repo contain example code combining the sente realtime communication library with Reagent and re-frame.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code

This repo contains example code that combines the sente realtime communication library with Reagent and re-frame.

The code is based on the examples section from the sente repository.

Note that the code in this repo, both the client and server, is intentionally simplified and include fewer features than the official example at the sente repository.

Client

ClojureScript, Reagent, re-frame and sente

Start the app

cd sente-example-app
npx shadow-cljs watch frontend

Server

Clojure, Compojure, ring, http-kit and sente

Start the server

cd sente-example-server
clj -m example.backend.main

References

sente

About

This repo contain example code combining the sente realtime communication library with Reagent and re-frame.


Languages

Language:Clojure 96.6%Language:HTML 3.4%