From bf679b32892fa6ba48a70dc6d55baca7dc5475e9 Mon Sep 17 00:00:00 2001 From: visualjerk Date: Thu, 28 Jul 2022 22:35:08 +0200 Subject: [PATCH] use supabase module --- .env.example | 4 +-- app.vue | 34 +++++++++----------------- nuxt.config.ts | 8 +----- package.json | 1 + pages/index.vue | 5 +--- store/api.ts | 17 ------------- store/auth.ts | 43 ++++++++------------------------ store/todos.ts | 65 +++++++++++++++++++++---------------------------- yarn.lock | 12 ++++++++- 9 files changed, 66 insertions(+), 123 deletions(-) delete mode 100644 store/api.ts diff --git a/.env.example b/.env.example index aaa612c..0aa462f 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ GITHUB_CLIENT_ID='1234' GITHUB_CLIENT_SECRET='1234' -NUXT_PUBLIC_SUPABASE_URL='https://XY.supabase.co' -NUXT_PUBLIC_SUPABASE_KEY='1234' \ No newline at end of file +SUPABASE_URL='https://XY.supabase.co' +SUPABASE_KEY='1234' \ No newline at end of file diff --git a/app.vue b/app.vue index 5d7f23d..c59d251 100644 --- a/app.vue +++ b/app.vue @@ -1,10 +1,7 @@