Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bensheldon/rails_postgres_websockets_chat

Websocket Chat app using Postgres LISTEN/NOTIFY
https://github.com/bensheldon/rails_postgres_websockets_chat

Last synced: 3 months ago
JSON representation

Websocket Chat app using Postgres LISTEN/NOTIFY

Awesome Lists containing this project

README

        

# Rails+Postgres WebSockets Chat Demo

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

Based on [Heroku's Ruby Websockets Chat Demo](https://github.com/heroku-examples/ruby-websockets-chat-demo), but uses Postgres `LISTEN/NOTIFY` for message passing instead of Redis, and also persists chat messages in Postgres too. This has *no dependency on Redis*.

![Screenshot](SCREENSHOT.png)