# Tutorial on how to implement a chat/ messaging functionality in weweb using supabase

**URL:** <https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328>\
**Category:** Show and Tell\
**Tags:** design, supabase\
**Created:** [April 26, 2024, 1:01pm UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328 "2024-04-26T13:01:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iconicsam](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@iconicsam](https://community.weweb.io/u/iconicsam)\
**Post date:** [April 26, 2024, 1:01pm UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328/1 "2024-04-26T13:01:20Z")

</div>

Hey guys i just published a new video on youtube giving a comprehensive walkthrough on how to develop a chat app in weweb using supabase. This a link to the video [https://youtu.be/sDW27eEOZCY](https://youtu.be/sDW27eEOZCY) .  
Would love to get the community review.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [April 28, 2024, 7:51am UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328/2 "2024-04-28T07:51:26Z")

</div>

Hello, have you tested this in the production/published version? I’m not sure about how the current Supabase plugin handles the realtime, but on the old version, I had this issue, that messages from the other chats appeared in the wrong chats, as the client was subscribed into the old channel, so I had to unsub with custom JS. Pretty cool tutorial, loving the Jay Z reference 🙂

---

<div class="post-metadata">

**Author:** ![iconicsam](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@iconicsam](https://community.weweb.io/u/iconicsam)\
**Post date:** [April 30, 2024, 12:50pm UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328/3 "2024-04-30T12:50:44Z")

</div>

Thanks broberto. Yes the realtime works well in prod. I didn’t come across that issue on my end, how was your data structured in supabase?

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [May 3, 2024, 4:52pm UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328/4 "2024-05-03T16:52:09Z")

</div>

This is really cool! Thanks so much for putting this together and sharing @iconicsam 🤗

---

<div class="post-metadata">

**Author:** ![Raphael](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raphael/32/13247_2.png) [@Raphael](https://community.weweb.io/u/Raphael)\
**Post date:** [May 3, 2024, 5:24pm UTC](https://community.weweb.io/t/tutorial-on-how-to-implement-a-chat-messaging-functionality-in-weweb-using-supabase/8328/5 "2024-05-03T17:24:29Z")

</div>

That’s great! Thanks for taking the time to create this video!
