I added realtime likes in less than an hour with Phoenix's LiveView
In this post, I show you how I added a realtime likes button to my blog via LiveView. Keep in mind this was the very first time I used LiveView and I was able to add this feature in about an hour and under 100 lines of code without writing any JS. That said it was my first time using LiveView and I’m sure it’s not a perfect approach.
https://morphic.pro/posts/i-added-realtime-likes-in-less-than-an-hour-with-phoenixs-liveview
Read next How to add a user session metric to a Phoenix app with Pow