An tiny example application demonstrating refreshing page content with Phoenix Channels and server-side template rendering.
For a thorough explanation of this project see my blog post: A Refreshing Tonic, Realtime Updates with Phoenix Channels.
The demo is also running live at: http://demo.keyanp.com/time, but is less interesting than reading the blog post :)
How to run
To run locally:
- Install dependencies with
- Install Node.js dependencies with
- Start Phoenix endpoint with
Now you can visit
localhost:4000 from your browser.