2024 Supabase + Sveltekit Tutorial (0 to prod)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 72

  • @arnavshukla2408
    @arnavshukla2408 5 หลายเดือนก่อน +20

    Came here from the previous video where I requested a Svelte 5 tutorial. Ben really never disappoints! Much love!

  • @xes.software
    @xes.software 5 หลายเดือนก่อน +15

    I hate that videos like this don't do well on youtube, because this is EXACTLY the kind of content people need.

    • @TheRealJuggaloJoel
      @TheRealJuggaloJoel 4 หลายเดือนก่อน +1

      really though. this is the truth

  • @tithos
    @tithos 5 หลายเดือนก่อน +8

    THANK YOU! THANK YOU! THANK YOU! I have benn so sick of dev raving about ho easy Svelte 5/Supabase/Dizzle are to use and setup, NOT in my experience. It is so great to see new peopl giving such exceptional Svelte 5 tutorial. I know it is not released but Devs are generally impatient by nature and the new runes docs abs non-existent. Live coding is tough. I admire your courage

  • @nutnut6244
    @nutnut6244 หลายเดือนก่อน +2

    Really cool stuff. I actually really enjoy you "screwing up" at points because thats what development actually looks like. You try stuff, you find things that dont work as expected, you iterate over your approach. These videos have been very helpful. Thank you so much

  • @0xAquaWolf
    @0xAquaWolf 3 หลายเดือนก่อน +2

    "they say its unstable, i don't give a shit i'm using it in production" i love it

  • @elierh442
    @elierh442 4 หลายเดือนก่อน +1

    Great tutorial, thank you for putting it out there! Also, thank you for leaving in the struggle, it makes me feel like I'm not alone.

  • @pstnorge
    @pstnorge 5 หลายเดือนก่อน +7

    Thumbs up for not giving a shit, and providing a banger tutorial. Thanks!

  • @adel.dev.account
    @adel.dev.account 4 หลายเดือนก่อน +2

    "I don't gives a shit, I use it for production" is wild and I luv it xD

  • @pixel7038
    @pixel7038 5 หลายเดือนก่อน +2

    I'm very close to finalizing my sveltekit website. You're youtube channel has been useful

  • @budivoogt491
    @budivoogt491 2 หลายเดือนก่อน

    Incredible tutorial Ben! Particularly useful to see how you handled migrations and the local vs. prod configs.

  • @marwenounis9823
    @marwenounis9823 5 หลายเดือนก่อน +2

    Literally what I'm doing currently, Great stack 🙌

  • @animal-lover--
    @animal-lover-- 4 หลายเดือนก่อน

    i had the option to click a 10 min video or this hour long video and once i realized you posted it i clicked this.

  • @sadunozer2241
    @sadunozer2241 4 หลายเดือนก่อน

    It’s awesome that you shared this. This is chaos… too many docs too many examples you have to go through to set it up. But it’s worth it for sure, this is an excellent stack for 90% of things you need to do. I recommend deno deploy as another api layer if you need

  • @Llourn
    @Llourn 2 หลายเดือนก่อน

    Awesome video, thanks for taking the time to put this together.

  • @DerClaudius
    @DerClaudius 5 หลายเดือนก่อน +3

    Hell yeah... that's what I'm just starting with now.

  • @r-i-ch
    @r-i-ch 5 หลายเดือนก่อน +2

    Been waiting on this one!!
    Awesome Sauce

  • @Huntabyte
    @Huntabyte 5 หลายเดือนก่อน +6

    Great video!

  • @TharakaAbeyratne
    @TharakaAbeyratne 15 ชั่วโมงที่ผ่านมา

    Hey Ben, at 7:00 you mentioned that you prefer using an ORM over the Supabase client SDK. Did you run in to any weird issues with RLS or is it a personal preference?

  • @Poke711
    @Poke711 2 หลายเดือนก่อน +1

    Amazing tutorial this was so helpful tyyyy

  • @brKlaus
    @brKlaus หลายเดือนก่อน +2

    Loved the video, but what about that piano there? Playing for how long?

    • @bmdavis419
      @bmdavis419  หลายเดือนก่อน +1

      About a year and a half, I'm not the best but its quite fun

  • @rzzo
    @rzzo 4 หลายเดือนก่อน

    Solid. Keep up the great work!

  • @dirtytruckinhippies
    @dirtytruckinhippies หลายเดือนก่อน +1

    my man!

  • @AdrianRosarioPR
    @AdrianRosarioPR 5 หลายเดือนก่อน +1

    Exactly what I needed

  • @0lange
    @0lange 5 หลายเดือนก่อน +1

    this is going to be my go to stack and templates for hackthones! Thanks!

  • @davidrempel433
    @davidrempel433 19 วันที่ผ่านมา

    26:00 Instead of copying individual install commands you can just run `bunx shadcn-svelte@next add button label input card`

  • @8bitWatermelon
    @8bitWatermelon 5 หลายเดือนก่อน +1

    Amazing video ❤. Been waiting for something like this ever since I started learning svelte. Please what font do you use for your vscode? Thanks 🙏

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน

      Giest vercel.com/font

  • @DoctorPitulic
    @DoctorPitulic 5 หลายเดือนก่อน +1

    Great video Ben!
    What Terminal you are using? And do you have some extra extension for intellisense in terminal?

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน +1

      Warp, I use zsh which has auto-complete and warp has a co-piolt style auto-complete

    • @DoctorPitulic
      @DoctorPitulic 5 หลายเดือนก่อน

      @@bmdavis419 Thanks Ben! All the best.

  • @enginedavey
    @enginedavey 5 หลายเดือนก่อน +1

    Very interesting video. What are the advantages of running supabase locally?

    • @sprobertson
      @sprobertson 5 หลายเดือนก่อน +1

      offline development, lower latency, don't eat into your usage limits

  • @TheRealJuggaloJoel
    @TheRealJuggaloJoel 4 หลายเดือนก่อน

    I love clicking through a video and it seems like everything I need. then sit down to follow it and it is in fact not what I need. Still gonna watch it for info that's useful, cause the delivery and all that is fire. But sad face emoji...

  • @oeaoo
    @oeaoo หลายเดือนก่อน +1

    As for a Java dev this was very interesting for me. Thank you.

  • @sept00
    @sept00 3 หลายเดือนก่อน

    Can you go into details why you mostly side-track the Supabase SDK? I get why people use an ORM to interact with a DB, but for me, all the features the SDK provides for absolutely free are a strong selling-point. How do you subscribe to DB updates, e.g.?

  • @atuttle
    @atuttle 2 หลายเดือนก่อน +1

    When I'm making changes to my schema over time, and want to apply them to the DB, is there a better (faster) way than to run `drizzle-kit generate` and then `supabase db reset`? the generate is ~instant, but the db-reset sometimes takes >30s, which is annoying. Feels like I'm wasting time deleting and recreating docker containers when I could run something that would just delete all of the tables and then run migrations and seed data and be done in a second or two... I've poked around trying to find this but can't find a good process for running the migrations. running `drizzle-kit migrate` seems to do nothing for so long (>1min) that I end up just giving up and cancelling it.

    • @bmdavis419
      @bmdavis419  2 หลายเดือนก่อน

      Yea for local db reset is the best way to handle it if u need to completely rebuild ur db. If you are just adding in a new migration you can run "supabase migration up" supabase.com/docs/reference/cli/supabase-migration-up and it runs instantly

  • @karolus__
    @karolus__ 5 หลายเดือนก่อน +1

    Besides auth do you use supabase client for queries and mutations or drizzle client?

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน

      nah I never use the supabase client for anything but auth/storage. I find its best to (as I did here) just block it off VIA RLS

    • @karolus__
      @karolus__ 5 หลายเดือนก่อน

      @@bmdavis419 ok I see, drizzle client exposes the env variable, so you can use it only on the server. Supabase client can be used on the client side, so if I am using Svelte alone (i.e for desktop/mobile app) I still have to use Supabase.

    • @karolus__
      @karolus__ 5 หลายเดือนก่อน

      @@bmdavis419 ​ ok I see, drizzle client exposes env variable, so it can only be used on the server side. Supabase client can be used on the client. So when using svelte alone (i.e for desktop/mobile app) I have to stick with Supabase and drizzle only for migrations.

  • @naranyala_dev
    @naranyala_dev 4 หลายเดือนก่อน

    thank you

  • @Loui3Hunna
    @Loui3Hunna 4 หลายเดือนก่อน

    Well done mate! Great tut
    How do I apply migrations to my local supabase db without deleting existing records?
    Running supabase db reset deletes all records but applies the migration changes. How do I just apply the migration changes?
    Found "supabase migration up" did what I want but only works from my terminal with supabase CLI. Would be nice to use the script provided by Drizzle
    Thanks!

  • @kruxdt6307
    @kruxdt6307 5 หลายเดือนก่อน +1

    goat

  • @nevillebrem
    @nevillebrem 5 หลายเดือนก่อน +1

    lets goo

  • @MyriadColorsCM
    @MyriadColorsCM หลายเดือนก่อน

    Just a note: I was failing at the "Awaiting Health Checks" stpe fo Supabase Start, I had to reset the config.toml to defaults, insert the configurations you had again and then set analytics to false, and then it worked with the command "supabase start --ignore-health-check".
    Leaving this here to anyone who sees this. Ok, if you really want analytics, you might need another solution, I believe, but analytics are evil so who cares?

  • @omercelebi2012
    @omercelebi2012 5 หลายเดือนก่อน

    29:10 when I try to click login button 10 or 20 times I can able to see auth/login page and don't know the reason 😂 Is that bug or something?

  • @tithos
    @tithos 5 หลายเดือนก่อน

    More please

  • @smithrockford-dv1nb
    @smithrockford-dv1nb 4 หลายเดือนก่อน

    Whilst you may bounce on email auth, most people actually bounce on non-email auth.

    • @bmdavis419
      @bmdavis419  4 หลายเดือนก่อน

      Thats honestly interesting to hear, most people I talk to are the opposite, but I'll keep that in mind for the future!

  • @prashlovessamosa
    @prashlovessamosa 5 หลายเดือนก่อน +1

    Thoughts on pocketbase

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน +3

      Supabase free tier > pocketbase IMO

  • @acharafranklyn5167
    @acharafranklyn5167 5 หลายเดือนก่อน

    Please ben can you do same thing using Pockethost or Pocketbase which are free. I needed something for my startup

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน +1

      u could do pocketbase, but idk I would personally just use supabase, the free tier will take u about as far as pocketbase will and its not gonna cause problems in the long run like pocketbase will

    • @acharafranklyn5167
      @acharafranklyn5167 5 หลายเดือนก่อน

      @@bmdavis419 how do you mean cause problems? i am using pockethost which is already hosted online and is totally free for now

  • @SamirElias-ru1td
    @SamirElias-ru1td 5 หลายเดือนก่อน

    why is better svelte that nextjs?

  • @1youngtai
    @1youngtai 4 หลายเดือนก่อน

    localhost and 127.0.0.1 is the same thing.

    • @bmdavis419
      @bmdavis419  4 หลายเดือนก่อน

      True, its just one of those things where I never trust that they point to the same thing so I always make sure that I use all of one
      Irrational I know, but its just how I do things lmao

    • @1youngtai
      @1youngtai 4 หลายเดือนก่อน

      @@bmdavis419 no I get it, makes sense

  • @khantseithu
    @khantseithu 4 หลายเดือนก่อน

    can you do a next.js version of this?

  • @BhideSvelte
    @BhideSvelte 5 หลายเดือนก่อน +1

    This should be named : Auth Setup - Supabase using Svelte

    • @bmdavis419
      @bmdavis419  5 หลายเดือนก่อน +3

      I also go over the DB, CRUD, and deployment, auth just takes the most to setup

    • @r-i-ch
      @r-i-ch 5 หลายเดือนก่อน +1

      Even still, best prod Svelte app tutorial on YT.

  • @iulikdev
    @iulikdev 2 หลายเดือนก่อน

    Why supabaseshit? Why you can't use a database? A friend have an old project with clerk auth, didn't work in iphone. This solution only give you trouble.

  • @jrfii-yt
    @jrfii-yt 4 หลายเดือนก่อน

    Thank you for the great videos! However, please stop the incesant upward inflection in your speech pattern. I don't mean to be rude, but it's painful.

  • @CodeByNumbers
    @CodeByNumbers 4 หลายเดือนก่อน +1

    @bmdavis419 - I really enjoy watching your progression over the years. You always have interesting things to share.

  • @thisisweeman69
    @thisisweeman69 5 วันที่ผ่านมา +1

    Thanks so much !