Technical requirements
There are no additional technical requirements as opposed to the previous chapter. You’ll find the related code of this chapter here: https://github.com/PacktPublishing/Building-Production-Grade-Web-Applications-with-Supabase/tree/Ch10_Realtime.
However, there’s one important thing to note: if you check out this branch, or any upcoming branch, and run npx supabase start
and npx supabase db reset
to get the exact same setup as in the branch, you’ll notice that Realtime is always disabled (you’ll see how to activate that in the Implementing Realtime comments section). That’s because, at the time of writing this book, the Supabase CLI doesn’t support dumping the on/off state of Realtime in tables – yet. Hence, if Realtime isn’t working, you most likely have to activate it.