Just launched! Get 30% off Rails Revisited Have a Look

Supabase Authentication

Buy or Subscribe

You can access this course in just a minute, and support my efforts to rid the world of crappy online courses!

Buy Standalone  Subscribe

We can't query our store unless we know who the user is, so let's add that quickly.

Adding Auth

Follow the Supabase docs and add authentication to our app.

  • Work in a branch, of course!
  • Just using email link for now
  • Replace our current auth and blow up some code!

Creating an API Abstraction

We don't want Supabase code littered throughout the app so let's be sure to centralize it somewhere, in case we have to swerve later.

  • Create an API store (?)