Skip to content

smeade/phoenixchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Phoenix Chat

Demonstration chat app built in Phoenix 1.3.0 from Phoenix Guides.

  • Channels Sample application
    • Overview [ guide | code | demo ]
    • uncomment the “room:” channel definition [ code ]
    • define a HelloWeb.RoomChannel module [ code ]
    • Joining Channels [guide]
      • authorize clients to join topic [ code ]
      • set our room name to “room:lobby” [ code ]
      • join channel [ code ]
      • import assets/js/socket.js [ code ]
      • add containers to hold our chat messages [ code ]
      • push an event over the channel with the message body [ code ]
      • listen for new messages and append them to our messages container [ code ]
    • Handle Incoming Events [ guide | code ]

About

Simple sample chat app from "Channels - Phoenix 1.3.0" Guide.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published