This lesson is part of a larger course on egghead.io - Build a Realtime Chat App with Remix and Supabase.
👉 https://egghead.io/courses/build-a-re...
---
The supabase-js package allows us to connect to our Supabase project, and easily query and mutate data. In this lesson, we install supabase-js, set up environment variables for SUPABASE_URL and SUPABASE_ANON_KEY, and create a Supabase client to use across our application.
Additionally, we look at writing an RLS policy to enable read access to our messages table, use our Supabase client to select all messages, and display them in our Remix app on load.
Watch video Query Supabase Data with Remix Loaders online without registration, duration hours minute second in high quality. This video was added by user egghead.io 06 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 85 once and liked it 1 people.