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
- Host: GitHub
- URL: https://github.com/cldwalker/sse-chat
- Owner: cldwalker
- License: mit
- Created: 2013-04-05T12:55:24.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-06T12:59:39.000Z (about 13 years ago)
- Last Synced: 2025-03-20T10:44:17.895Z (about 1 year ago)
- Language: Clojure
- Homepage:
- Size: 131 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
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