How to create a todo list with Phoenix LiveView

Click for: original source

Phoenix LiveView is a great solution for anyone who wants to get a real-time app out to the world quickly without spending a ton of time building out both frontend and backend. By Dennis Beatty.

The author provided video on youtube together with code on GitHub and detailed instructions in this tutorial.

The tutorial covers:

  • Set up a new project with Phoenix LiveView
  • Generate the Schema
  • Set up the page
  • Display the Todo List
  • Updating in Real-Time with PubSub

LiveView is awesome, but Phoenix PubSub is pretty amazing too. It was super simple for author to subscribe to events and publish those when we update our database, and that allowed them to get this all set up really easily. Excellent!

[Read More]

Tags programming erlang functional-programming