Skip to content

lysek/chat-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat demo s RethinkDB a WebSocket

Spustit RethinkDB a vytvorit databazi chat tabulku a v ni tabulku messages.

Spustit backend pomoci prikazu npm run start a v prohlizeci otevrit http://localhost:3000.

API nad WebSocket

  • Klient odesle zpravu jako serialozovany JSON {"from": "...", "message": "..."}.
  • Server posila podobny JSON pri kazde nove zprave.

About

Chat s WebSocketem a RethinkDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published