kekemoto / chat-sse

Chat demo using SSE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat-SSE

chat by server-sent-events, sinatra, puma, redis

Make developmenet enviroment

requirement

  • docker
  • docker-compose
  • npm

setup

git clone https://github.com/kekemoto/chat-sse.git
cd chat-sse
docker-compose build

start

# Start server. If the file is changed, it will restart automatically.
docker-compose up -d

# Build client. If the file is changed, it will restart automatically.
npm run watch

Try to access http://localhost/

stop

docker-compose stop

About

Chat demo using SSE.

License:Apache License 2.0


Languages

Language:Ruby 49.3%Language:JavaScript 34.3%Language:CSS 8.4%Language:Dockerfile 4.4%Language:HTML 3.6%