Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Supabase & Vue 3 (with Quasar & Pinia)
Highest Rated
Rating: 4.9 out of 5(41 ratings)
324 students

Supabase & Vue 3 (with Quasar & Pinia)

Connect a Vue 3 & Quasar app to Supabase: with Auth, RLS, Database Functions, Storage, Edge Functions & Local Supabase
Created byDanny Connell
Last updated 1/2025
English

What you'll learn

  • How to connect a Quasar 2 app to a Supabase backend
  • Add full Realtime CRUD capabilities: Read, Insert, Update, Delete & Realtime
  • Add Supabase Authentication so your users can Register, Login & Log out
  • Add Security with Navigation Guards & Supabase Row Level Security & Policies
  • Add Supabase Storage so your users can upload an avatar (& display it in the app)
  • How to run Supabase Locally & How to Push Local Changes to the Live Instance
  • How to create Supabase Edge Functions
  • How to get the finished app built & working for Web, iOS, Android, Mac & Windows

Course content

16 sections123 lectures6h 21m total length
  • Introduction4:23

    Build a money-tracking app with Vue 3 and Quasar powered by Supabase, implementing read, add, update, and delete, real-time updates, authentication for multiple users, row-level security, storage, and edge functions.

  • Editor & Software Setup0:58

    Configure VS Code on Mac with zsh for a Supabase and Vue three project, using extensions like auto rename tag, split HTML attributes, and Vue three support.

  • Chrome & Vue Devtools0:31

    Debug your Vue.js views and code using Chrome with the Vue.js DevTools extension, installed from the Chrome Web Store, using the non-legacy, non-beta version to get started.

  • Install Course App: Moneyballs0:32

    Download and extract the starter moneyballs app, load the folder into VS Code, open the terminal, run npm install, then run Quasar dev to view the app in the browser.

  • Moneyballs Overview6:58

    Moneyballs overview introduces a money management app that adds income and expense entries, shows a live balance in green and red, and supports editing, sorting, paid status, and deletion.

  • Download Source Code0:02

Requirements

  • Basic understanding of Vue 3, Quasar, Pinia & JavaScript

Description

In this course, you'll learn how to connect a Quasar 2 app (with Vue 3 & Pinia) to a Supabase backend.

You'll start by downloading and launching the course app, Moneyballs (from my course Vue 3: Create a Mobile & Desktop App (with Quasar 2 & Pinia).

You'll connect Moneyballs to a Supabase Database and add full CRUD capabilities for one user:

  • Read and display Entries from Supabase

  • Add Entry

  • Delete Entry

  • Update Entry

  • Reorder Entries

  • Realtime Updates

You'll then create an Auth page where a user can login & register and setup Supabase Authentication:

  • Register User

  • Logout User

  • Login User

  • Listen for Auth Changes

  • Redirect the User on Login & Logout

You'll then add support for Multiple Users and add security to the app:

  • Navigation Guards

  • Supabase Row Level Security (RLS) & Policies

Next you'll learn about Database Functions & Triggers, you will:

  • Create a Database Function which keeps track of the total number of entries created with Moneyballs

  • Learn how to fire the Database Function straight from Moneyballs

  • Create a Trigger which fires this Database Function (automatically) every time any user adds a new entry

You'll learn about Supabase Storage, you will:

  • Create an Avatars Storage Bucket

  • Allow each user to upload an Avatar

  • Display the Avatar within Moneyballs

Next you'll learn how to take your entire Supabase instance and run it locally, you'll:

  • Install Supabase locally

  • Import all Database Tables & Data from the Live Supabase instance

  • Learn how to make changes to the Database locally

  • Learn how to push these changes to the Live instance

You'll then learn about Edge Functions, you will:

  • Create an Edge Function (locally) which displays a random greeting to the user

  • Access Auth and the Database in the Edge Function, so that we can display the user's total number of entries in the greeting

  • Deploy the local Edge Function to the Live Supabase instance

Finally, you'll build the app for production and get it working on 5 platforms:

  • Web browser

  • iOS

  • Android

  • Mac

  • Windows

For this course, I recommend:

  • Having completed my course Vue 3: Create a Mobile & Desktop App (with Quasar 2 & Pinia)

  • Using a Mac

  • Having a basic understanding of Vue 3 (Composition API), Quasar, Pinia & JavaScript

Who this course is for:

  • Vue 3 & Quasar Developers looking to create a backend for their Cross-Platform App with Supabase