An open API service indexing awesome lists of open source software.

https://github.com/cldwalker/sse-chat

simple sse chat example for pedestal, ported from sinatra
https://github.com/cldwalker/sse-chat

Last synced: about 1 year ago
JSON representation

simple sse chat example for pedestal, ported from sinatra

Awesome Lists containing this project

README

          

## Description

This is a pedestal-service port of sinatra's [sse
chat example](https://github.com/sinatra/sinatra/blob/master/examples/chat.rb).
This chat can be used from multiple tabs in the same browser.

Chat [on heroku](http://pedestal-sse-chat.herokuapp.com/)!

## Getting Started

1. Start the application: `lein run`
2. Go to [localhost:8080](http://localhost:8080/) to start chatting.

## Configuration

To configure logging see config/logback.xml. By default, the app logs to stdout and logs/.
To learn more about configuring Logback, read its [documentation](http://logback.qos.ch/documentation.html).

## Links

* [chat](https://github.com/pedestal/samples/tree/master/chat) -
official sse chat example
* [server-sent-events](https://github.com/pedestal/samples/tree/master/server-sent-events) - official simple sse example