They're Making Supabase Better...

  Рет қаралды 7,009

Ben Davis (Davis Media)

Ben Davis (Davis Media)

Күн бұрын

Supabase recently released a new SDK for the fullstack JS frameworks (SvelteKit, Nuxt, Next, etc.) which helps simplify the way we handle auth in a server side env. Lets talk about it.
NEW DOCS: supabase.com/docs/guides/auth...
MY CODE: github.com/bmdavis419/supabas...
my stuff
discord: / discord
x (twitter): / bmdavis419
insiderviz: www.insiderviz.com
blok: www.theblokapp.com
timestamps
0:00 new sdk
5:10 thoughts

Пікірлер: 32
@bmdavis419
@bmdavis419 3 ай бұрын
UPDATE: this should have been there from the beginning, here is the source code: github.com/bmdavis419/supabase-ssr-showcase
@codewithguillaume
@codewithguillaume Ай бұрын
This is a very good video Ben !
@zBrain0
@zBrain0 4 ай бұрын
Thank you for making this, I recently implemented it and wasn't 100% sure I did it correctly. You are definitely right that their documentation has room for improvement. I think it's hard as Developers to write good documentation because you know the product intimately and sometimes there is a tendency to maybe make assumptions that the user knows things that in reality they might not.
@bmdavis419
@bmdavis419 4 ай бұрын
For sure, I think the thing they are missing is showing more examples in context, like prisma does a really good job of just showing me how I would use it in a bunch of different scenerios, in context
@hayskapoy
@hayskapoy 4 ай бұрын
"some frameworks like to be cute and implement their own fetch" 👀👀👀
@rumble1925
@rumble1925 4 ай бұрын
Nice work
@sburke0708
@sburke0708 4 ай бұрын
Love the video and your content! One suggestion/request I would have is that having the terminal open in your IDE can be distracting and provide less space when showing code. In future videos, you might consider closing the console so that we can see more of the code.
@bmdavis419
@bmdavis419 4 ай бұрын
Yea I need to make this change in my workflow in general
@mandril6021
@mandril6021 3 ай бұрын
Could you share your code? I agree the Supabase doc is a mess - currently it seems like a mix of old auth helper and new SSR approach, which is confusing on a next level...
@0lange
@0lange 4 ай бұрын
Just what I was looking for. Please link this repo
@animatrix1851
@animatrix1851 4 ай бұрын
How do the supabase server and browser clients synchronize their sessions ? A login always happens on the browser client. The docs mentioned something about you having to set the cookie manually. Did you do this or is it not necessary ?
@bmdavis419
@bmdavis419 4 ай бұрын
This is what you do when you redirect and exchange the code for a session
@abishek_stuff
@abishek_stuff 4 ай бұрын
This looks very similar to Lucia's patterns. Cool stuff.
@bmdavis419
@bmdavis419 4 ай бұрын
Yup, its getting a lot better
@Richetechguy
@Richetechguy 4 ай бұрын
How you liking Svelte 5 think i saw some of the new syntax in this vid ?
@bmdavis419
@bmdavis419 4 ай бұрын
Loving it, I want it asap, but sadly I think we have to wait until april :(
@chiroyce
@chiroyce 4 ай бұрын
hey how do i get oauth work with this?
@criscabreras
@criscabreras 3 ай бұрын
Can you please share a link to that code? It would really help beginners to debug their mistakes 🙏 Thank you!
@bmdavis419
@bmdavis419 3 ай бұрын
Yes! github.com/bmdavis419/supabase-ssr-showcase
@criscabreras
@criscabreras 3 ай бұрын
Thank you!@@bmdavis419
@williamliu796
@williamliu796 4 ай бұрын
Please make that documentation feedback video! I totally agree and hopefully videos like that will help move the needle
@kakun7238
@kakun7238 4 ай бұрын
could you please zoom in tho
@bmdavis419
@bmdavis419 4 ай бұрын
Yea thats my bad, in the videos I'm recording now I've dismissed the terminal and made the text bigger
@DanteMishima
@DanteMishima 4 ай бұрын
What if I don't care about SSR
@kvetoslavnovak423
@kvetoslavnovak423 4 ай бұрын
Use just the supabase browser client then
@tristdrum-workweek
@tristdrum-workweek 4 ай бұрын
I AGREE. SUPABASE IS AWESOME BUT THEIR DOCS SUCK 😂
@greendsnow
@greendsnow 4 ай бұрын
Not with that slow postgres on supabase... I still use pocketbase.
@ValipPowa
@ValipPowa 2 ай бұрын
supabase docs are just a sad sad excuse of over 200 million usd of fundings. what a let down
@curtisflaming8625
@curtisflaming8625 4 ай бұрын
docs shmocs. Supabase AI is all you need
@bmdavis419
@bmdavis419 4 ай бұрын
ive found it works pretty well, but is not quite perfect
SvelteKit and Supabase Deep Dive
51:23
Ben Davis (Davis Media)
Рет қаралды 18 М.
The One We've All Been Sleeping On (probably)
8:18
Ben Davis (Davis Media)
Рет қаралды 24 М.
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 50 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Oh, Auth Doesn't Have to Suck?
7:16
Josh tried coding
Рет қаралды 55 М.
Supabase just shipped a LOT of cool stuff...
15:31
Ben Davis (Davis Media)
Рет қаралды 3,6 М.
i didn't know these svelte tips
18:56
Nev the Dev
Рет қаралды 3,5 М.
Can SQLite be Used in Real Projects?
5:38
Ben Davis (Davis Media)
Рет қаралды 4,3 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis (Davis Media)
Рет қаралды 11 М.
Giving Up On Next.js | Theo Reacts
44:49
Theo - t3․gg
Рет қаралды 113 М.
I've been using Supabase and I kind of like it
11:25
Web Dev Cody
Рет қаралды 27 М.
Mobile App Development is Hard
16:29
Ben Davis (Davis Media)
Рет қаралды 6 М.
SvelteKit Auth in 15 Minutes
14:10
Ben Davis (Davis Media)
Рет қаралды 6 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 23 МЛН
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 583 М.