Skip to content

Davidbadasyan/VueJS3SupabaseV2.0

Repository files navigation

VueJS3SupabaseV2.0

VueJS3 App using Supabase V2.0

Installation and services creation

How to run the solution

npm install
npm run dev

To change the config settings go to the .env.local file and set the following

VITE_SUPAURL=xxxx
VITE_SUPAKEY=xxxx

To get VITE_SUPAURL and VITE_SUPAKEY you need to create a project from Supabase Dashboard.

You can create Google client from here by clicking Create Project.

You can create Azure client by following this.

How Auth works

When logging in Supabase gives us access_token and we keep it in the local storage. When user tries to do some private action, access token expiration date is being compared with the current date. If token is expired user is being redirected to login page and needs to login again.

About

VueJS3 App using Supabase V2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages