All Projects → supabase-community → vue-supabase

supabase-community / vue-supabase

Licence: MIT License
A supa simple wrapper around Supabase.js to enable usage within Vue.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-supabase

ds-visualizer
This is an ongoing project based on data structures. We will be presenting and explaining the code of each basic data structure with the help of a visualizer.
Stars: ✭ 14 (-75.44%)
Mutual labels:  supabase
svelte-starter-kit
Svelte with brilliant bells and useful whistles
Stars: ✭ 384 (+573.68%)
Mutual labels:  supabase
threaded-comments
Reddit styled threaded comments using Supabase and Next.js
Stars: ✭ 111 (+94.74%)
Mutual labels:  supabase
godot-engine.supabase
A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.
Stars: ✭ 39 (-31.58%)
Mutual labels:  supabase
supabase
An easy way to integrate Supabase with NuxtJS
Stars: ✭ 39 (-31.58%)
Mutual labels:  supabase
supaflare
URL shortener / redirection service powered by Supabase, Cloudflare Workers, Workers KV and Cloudflare Pages.
Stars: ✭ 51 (-10.53%)
Mutual labels:  supabase
gotrue
A JWT based API for managing users and issuing JWT tokens
Stars: ✭ 325 (+470.18%)
Mutual labels:  supabase
wrapped
GitHub Wrapped, inspired by Spotify Wrapped
Stars: ✭ 159 (+178.95%)
Mutual labels:  supabase
react-supabase
React Hooks library for Supabase
Stars: ✭ 168 (+194.74%)
Mutual labels:  supabase
top-nuxt3
Full stack Nuxt 3 Template starter with Supabase and Tailwindcss
Stars: ✭ 59 (+3.51%)
Mutual labels:  supabase
nuxt-supabase
A supa simple wrapper around Supabase.js to enable usage within Nuxt.
Stars: ✭ 146 (+156.14%)
Mutual labels:  supabase
supabase-ui-svelte
Supabase authentication UI for Svelte
Stars: ✭ 83 (+45.61%)
Mutual labels:  supabase
postgrest-swift
Swift client for PostgREST
Stars: ✭ 23 (-59.65%)
Mutual labels:  supabase
supabase flutter
Using Supabase in Flutter
Stars: ✭ 38 (-33.33%)
Mutual labels:  supabase
github-chat
A chat room for every GitHub repository. Real-time.
Stars: ✭ 25 (-56.14%)
Mutual labels:  supabase
timelino
Twitter-liked platform without toxic and negativity
Stars: ✭ 41 (-28.07%)
Mutual labels:  supabase
madewithsupabase
A collection of projects made with Supabase – Websites, Mobile Apps, SaaS, Plugins and more!
Stars: ✭ 84 (+47.37%)
Mutual labels:  supabase
spot
Open source geo based video sharing social app created with Flutter, Supabase and lots of love 💙💙💙
Stars: ✭ 224 (+292.98%)
Mutual labels:  supabase
swappy-one
swappy.one
Stars: ✭ 24 (-57.89%)
Mutual labels:  supabase
hot
🍕The site that recommends the hottest projects on GitHub.
Stars: ✭ 57 (+0%)
Mutual labels:  supabase

Vue + Supabase

A supa simple wrapper around Supabase.js to enable usage within Vue.

Installation

# Vue 3.x
yarn add vue-supabase

# Vue 2.x
yarn add @vue/composition-api vue-supabase

Note: Currently @vue/composition-api is required for this package to work for projects using Vue 2.x.

Usage

Vue 2.x

import VueSupabase from "vue-supabase";

Vue.use(VueSupabase, {
  supabaseUrl: "",
  supabaseKey: "",
  supabaseOptions: {},
});
const { data, error } = await this.$supabase.from("events").select("*");

Vue 3.x

import VueSupabase from 'vue-supabase'

const app = createApp(...)

app.use(VueSupabase, {
  supabaseUrl: '',
  supabaseKey: '',
  supabaseOptions: {}
})

app.mount(...)

Options API

const { data, error } = await this.$supabase.from("events").select("*");

Composition API

import { useSupabase } from "vue-supabase";

const supabase = useSupabase();

const { data, error } = await supabase.from("events").select("*");

Here are a couple of composables available with Vue 3.x or Vue 2.x + Composition API

import { useSuabaseAuth, useSupabaseStorage } from "vue-supabase";

const auth = useSupabaseAuth();
const storage = useSupabaseStorage();
const { data } = await storage.listBuckets();
await auth.signOut();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].