Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 3.01 KB

File metadata and controls

39 lines (28 loc) · 3.01 KB

🏡 Home

Create Supabase project Create Remix application Query Supabase data with Remix Loaders Generate TypeScript types from Supabase CLI Implement Supabase Auth using GitHub Restrict access with RLS policies Automatically set session cookie with Supabase Auth Helpers Call active Loaders on Supabase Auth state change Mutate Supabase data with Remix Actions Subscribe to database changes with Supabase Realtime Deploy Remix app to Vercel

Deploy Remix app to Vercel

📹 Video

Using a GitHub repo to deploy our application to Vercel, keeps our code and live production site in sync. In this lesson we look at using the GitHub CLI tool to create a public repo, and adding it as a remote origin for our project.

Additionally, we create a new Vercel project from this GitHub repo, add our Supabase environment variables, and deploy. Lastly, we update the Homepage URL in our GitHub OAuth app to be our new Vercel URL, and set our Supabase project's Authentication Site URL to our new live application URL.

Extension ideas

  • Style the app using Tailwind CSS (or another method of choice)
  • Implement the ability for a user to update and delete their own messages
  • Add the option to set a username and display this alongside messages
  • Add separate message threads/chat rooms
  • Implement private messages/chat rooms

Resources


Enjoying the course? Follow Jon Meyers on Twitter and subscribe to the YouTube channel.