Back to Browse

Remix Databases and Auth

10.3K views
Feb 3, 2023
22:35

Supabase Auth simplifies building an app with users. Remix is a web framework that gives you little bits of server where you need it! πŸš€ In this video, Jon Meyers takes us through the brand new Supabase Auth Helpers package, which provides convenience functions around storing session data in cookies, rather than localStorage. This makes it possible to send authenticated requests to your database, from the client or server! πŸͺ πŸ’Ώ Remix Auth Helpers Docs: https://rebrand.ly/remix-auth 00:00 Introduction 00:54 Creating a Supabase project 01:31 Creating a Remix app 02:55 Fetching data in a loader 04:22 Install supabase-js 06:57 Enabling read access with RLS 08:12 Implementing Supabase Auth 11:47 Filter RLS policy to authenticated users 15:21 Store session data in cookie 18:48 Modify policy to read access for specific user 20:21 Call loaders on sign in and sign out 21:48 Outro πŸ₯š Free egghead course on Remix and Supabase: https://egghead.io/courses/build-a-realtime-chat-app-with-remix-and-supabase-d36e2618 πŸ‘‡ Learn more about Supabase πŸ‘‡ πŸ•Έ Website: https://supabase.com/ 🏁 Get started: https://app.supabase.com/ πŸ“„ Docs: https://supabase.com/docs πŸ™ Github: https://github.com/supabase πŸ’¬ Discord: https://discord.supabase.com/ 🐦 Twitter: https://twitter.com/supabase/

Download

1 formats

Video Formats

360pmp432.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Remix Databases and Auth | NatokHD