Skip to content

Releases: noozo/honest_chat

Part 5 - Sending and receiving messages

15 Dec 22:29
Compare
Choose a tag to compare

In this episode we finally get around to implement sending and receiving messages across multiple users, as well as storing those messages only locally on the users' browsers.

This means we will be looking into Phoenix's PubSub as well as Javascript's LocalStorage.

Enjoy and don't forget to subscribe.

  • If you want to follow me on Twitter, i'm at twitter.com/therealnoozo
  • If you want to check out the code for this series of videos, find it at Github, under github.com/noozo/honest_chat

YouTube link: https://www.youtube.com/watch?v=sknPrEXQsyo

Part 4 - Joining Rooms

18 Nov 18:54
Compare
Choose a tag to compare

In this video we implement the copying of a room invite link to the user's clipboard, so he can share it with friends. We also perform some cosmetic changes to our application, as well as adding support for multiple people in the same room, from a database standpoint.

We also explore how to send custom LiveView events from the server to the user's browser, by leveraging the push_event function.

https://www.youtube.com/watch?v=g3e9zyafOJY

Part 3 - Rooms

05 Nov 16:09
Compare
Choose a tag to compare

https://www.youtube.com/watch?v=JAWIPJtNRBI

In this video we cover quite a lot of ground while restyling our application, namely updating LiveView to the latest version, talking about code guidelines, installing tailwind plugins, creating a database table to support rooms, along with proper schema and context modules.

We also write our first live view with a couple of live components, discuss authentication inside live views using the new live_session router macro, and finally use handle_event to track clicks on the sidebar that will let us join a particular room that we have created.

Part 2 - TailwindCSS

28 Oct 15:07
Compare
Choose a tag to compare

Part 1 - Setup

31 Oct 12:36
Compare
Choose a tag to compare

Part 1 - Initial Phoenix setup with authentication