ljpengelen / ultra-chat

An app that demonstrates server-sent event with http-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ultra chat

An app that demonstrates server-sent events with http-kit.

Requirements

Development

If you're a beginner to Clojure and don't have a favorite setup yet, I recommend using Visual Studio Code in combination with the Calva extension.

Once you've installed Visual Studio Code and Calva, connect Calva to the project and start development.

A convenient way to get started is opening src/ultra-chat/core.clj and evaluating that file by pressing ctrl+alt+c enter. Afterwards, put you cursor somewhere inside an expression and press alt+enter to evaluate it.

Running the app

Run clojure -X:run to start the app. Obviously, this requires Clojure.

Creating an uberjar

Run clojure -T:build clean && clojure -T:build uber to create an uberjar. Run java -jar target/ultra-chat-<version>-standalone.jar to start the application. Starting the application like this doesn't require Clojure, only Java.

About

An app that demonstrates server-sent event with http-kit


Languages

Language:Clojure 94.9%Language:JavaScript 4.4%Language:CSS 0.7%