Why I use Convex over Supabase as my BaaS

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

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

  • @robwatson826
    @robwatson826 7 หลายเดือนก่อน +16

    This video dropped at just the right time - I'm a Supabase user but have been watching your videos using Convex with Clerk and I'm torn between the two. I only want to choose 1 of them going forward so this video could help!

    • @eshw23
      @eshw23 7 หลายเดือนก่อน +11

      Both are so much better than Firebase lol 😀

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

      @@eshw23 convex is so much easier than firebase...

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

    I think convex could very much be that sweet spot between when you manage everything yourself, databases authentication... And low code where you don't have to write code really, I'm not sure it just feels like that to me

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

      I mean you do still need to write code, but it makes things easier for sure

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

    You missed probably one of the most important points of interest. Pricing. Which is more cost effective and at scale...

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

    Not Open Source

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

    Convex now has authentication and it deserves another look

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

    Why not using Prisma+Postgres+NextAuth without any edge stuff around it

  • @codewithtae6637
    @codewithtae6637 18 วันที่ผ่านมา +1

    Concerning the "Paradigm" section, Supabase allows you to make request to your backend with their Supabase js client as well!

    • @parentalsfullerton
      @parentalsfullerton 9 วันที่ผ่านมา

      yeah, i have to say, a lot of this vid is from the perspective of someone who hasn’t used supabase much and doesn’t know what it can do.
      also - “i prefer to write all the backend code myself”?? noob 😂

  • @parkerrex
    @parkerrex 6 หลายเดือนก่อน +20

    because convex cuts me a check

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

      haters gonna hate - I've haven't felt this productive until I started using convex

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

      @@WebDevCody fair -- i take it back, love your content

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

      @@parkerrex did you participate in the hackathon? Your name seems familiar

  • @isaackoz
    @isaackoz 7 หลายเดือนก่อน +12

    Something I've always wondered is how well these scale and if they're suitable for projects beyond a SaaS? If I'm not mistaken, most, if not all, BaaS are just wrappers around AWS? I get that the DX is the main selling point of them, but what is the tradeoff from using these all in one backend solutions versus building up your own infrastructure via AWS?
    I mean the function calls on convex are $2 per million versus $0.2 per million on AWS lamda (or $0.60 per million for edge). That's a 10x markup!
    Btw great video on the comparison. Love your vids as always. This was just something I've always been curious about.

    • @WebDevCody
      @WebDevCody  7 หลายเดือนก่อน +26

      That is a good question.
      When we talk about software, we have to consider the context of the project, company, and team size. Many software projects are small in scale and do not have that much traffic. Paying $2 per million or $0.2 per million does not make much of a difference in the grand scale of things. How many users would you need to hit your app daily to generate one million requests? Probably a decent amount right?
      Paying 10x more for requests to get the ability for moving fast and shipping to market faster is worth it for most small scale projects. For larger projects (Netflix, Facebook, Google), they almost always will be running their own VMs & dedicated machines because that is sometimes the only way to save on operational costs (but this also requires expert engineers who are paid a LOT of money).

    • @isaackoz
      @isaackoz 7 หลายเดือนก่อน +3

      @@WebDevCody That makes a ton of sense. Thank you for your detailed response!

  • @Marcus-Lim
    @Marcus-Lim 7 หลายเดือนก่อน +4

    Hey, thanks for this video, has helped me understand convex more. I’ve ran into some of the issues you’ve pointed out with supabase, going to try out convex now 🙏

  • @ninjagaskin
    @ninjagaskin 7 หลายเดือนก่อน +4

    Phenomenal post. Thank you Cody! Always providing relevant and insightful content

  • @rioredwards
    @rioredwards 6 หลายเดือนก่อน +3

    I attended a coding bootcamp and we used Supabase for the first couple months…
    It allowed us to get feel for backend development so when we continued on to learning Express and PostgreSQL, we were more familiar with the concepts (Tables, Joins, SQL, Auth, RLS, etc).
    I think it’s the perfect tool when you’re learning or just want to get an app up and running.

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

      No hate though! I’m a big fan of your vids Cody!

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

    This honestly just seems way too convoluted, I'd rather stick with a traditional API backend and call endpoints in my frontend

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

      if you code in react, try convex for yourself. so far this has been the best DX I've found in my 10 years of coding.

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

    Would also use all these nice services if the Rand/$ wasnt so stupidly expensive... Many of these services are just completely out of reach to anyone outside the US... Especially if you need more than one to run an app... Milk free tiers and open source as far as possible until your app fails is our poa....

  • @eaglebirdiepar
    @eaglebirdiepar 7 หลายเดือนก่อน +3

    Convex is incredible. Makes it stupid easy to create apps.

    • @eshw23
      @eshw23 7 หลายเดือนก่อน +3

      Yea but manually doing it using web socets like Socket Io or something else is a much better learning experience and more rewarding, on top of more scalable

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

      If your goal is to learn websockets than sure.But if you want to build a web app quickly this is the way.@@eshw23

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

    Im the only one here thinking memerank has a great potential?

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

    I love you babe! You’re doing great!!!

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

      Thank you my love!

    • @untalentedwebdev
      @untalentedwebdev 7 หลายเดือนก่อน +3

      I love him more

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

      @@untalentedwebdev lol not possible

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

      awww

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

      i just enjoy this little "easter egg" on this channel, all new viewers must be confused as to why this "strange" woman keeps posting "i love you babe" on every single post and she don't miss 🤣🤣, some think you are a wierd bot fr🤣🤣💀

  • @aham_sammich
    @aham_sammich 7 หลายเดือนก่อน +3

    Thanks for the video! I've been using Supabase for work over the past 6 months. You can generate types based on your schema using the Supabase CLI and pass it as a type arg when using the SDK to provide type safety. I've enjoyed using it, but I'm interested in trying Convex for a personal project.

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

      I am glad you're using Supabase for production. I am working on a mobile app which should use Supabase as backend. Do you think, from your experience, that Supabase is solid for production apps? or will I suffer with it? either bugs or slow performance

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

      @@yasserhy My experience is rather limited in that I can only compare it to Firebase. Between the two though, I prefer Supabase for its docs and DX. I found it very easy to set up and the docs are easy to understand.

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

    Supabase + Prisma or Drizzle solves most of the issues

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

      If you use drizzle then you’re not even using supabase client or rls; you’d just be using Postgres and at that point I could just spin up a database on railway

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

      @@WebDevCody well I say in this case you don’t get too locked in to Supabase and your business logic remains in your application

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

    Hello can you create a video how you handle stripe taxes across 200+ countries?

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

    regarding vendor lock-in, I think convex was just open-sourced today (like 4 hours ago), I think convex is pretty cool, however, I'd still prefer Postgres over convex's custom db, but that's only because I've used Postgres for almost all my professional career, and I think the Postgres is literally the best db available.

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

      Postgres is great, but doesn’t really have the real time capabilities I’ve seen in convex without a lot of extra code. Also, convex is more than just a database, it’s an entire backend as a service. Hard to compare the two

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

    cody, i very much disagree with you on the security (authorization) part, here's why...
    1. When figuring out whether a user is allowed to *read* a row or *write* to a table, him getting the permission depends on what state/data they have in the DB, for example, say you want a user to not be able to create a shop if he's not verified, you can write an RLS policy to deny him *write* access to that table if he doesn't meet the requirements, compare that to having authz rules on the application layer, you'll have to make a network req to get the appropriate data in-order to evaluate the conditions on the server, this add more latency!!!
    2. i believe separating authz rules from business logic gives you better security because you don't have to worry about having to write a bunch of *WHERE* clauses in order to protect the data, it add too much fluff on the actual SQL that deals with business logic, this problem become bigger once you have a sizable team where all devs have to simultaneously think of authz and business logic EVERYTIME!!!, that's crazy talk!!!
    Have a good one

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

      that's fine to disagree; I just don't think encoding security rules at the database level is a good approach for a maintainable system. Additionally, RSL is limiting. Let's say I have 3 different user roles and each role has a different type of access to the columns in the row. This would involve adding database views which is more complexity added onto the database which is actually business rules.

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

    Would it be possible to compare convex with appwrite ? And how they compare in terms of the cloud functions

    • @WebDevCody
      @WebDevCody  7 หลายเดือนก่อน +4

      if I get time, I haven't tried appwrite yet.

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

      Appwrite is the best and easy❤❤

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

    nice video, im curious what you think appwrite?

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

      Appwrite is easy and powerfull❤

  • @Christopher-lb6rf
    @Christopher-lb6rf 7 หลายเดือนก่อน +1

    You notice much in terms of performance between them? I've used Supabase, and there was a lot of situations where performance was a problem.

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

      Not yet, but I haven’t built anything substantial in either. A bunch of the founders at convex worked at Dropbox engineering a lot of the hard stuff, so I’m pretty sure they have a handle on everything.

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

    Interesting. First time hearing about Convex

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

    Thoughts on pricing between both services?

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

    Convex looks super easy to use and sounds great but looking at thier investors the top of the list is Andreessen Horowitz and that dude is aspiring to Lex Luther levels of bad guy. Looks like he is also a key invesor in Clerk too. I'll stick with Supabase 😁

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

      😂 I have no info on any of that. What makes it so bad?

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

      I use appwrite❤😂

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

    You should switch the icons in the thumbnail, the heaviest side should be the best, in this case, convex.
    Very important information

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

      First thing I noticed 😂

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

    no pricing on the list?

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

    you sold me on convex ngl

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

    Greatly explained each aspects from both!

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

    really2 good video.
    my last project I tried to use supabase and really frustrated with all the things you mentioned.
    good to know about convex.

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

    1. Can I create a database that is linked to the respective users with Convex?
    2. I have created a schema that references the user and then creates a table with sunbeds based on the `tokenIdentifier`. At least that's the plan. It is not working yet.

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

    we use drizzle orm with postgresql database which gives best developer experience.

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

    You are a machine bruh, great vid!

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

    is there a concurrent connection limit for realtime updates in Convex? For Supabase its 100

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

    Supabase all day

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

    23:20 Haha yes that is how i feel right now. Got sucked into Supabase because of how easy auth is, and the simple premade client for next/react, but then hit some big walls as I tried to create some user roles. I am deep in postgres rabbitholes right now, which is exactly what i was initially trying to avoid. Oops.

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

    With Convex they only host it right? Like there's no way to actually own your app/platform/data like is at least possible with Supabase (and with other BaaS)?

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

    convex now open source can you make a video about it like what your thoughts?

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

    with supabase, we can connect to postgresql with third party data analyst and follow everything we want. And in convex? How to connect with other data analyst tools?

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

    Did you try using a server actions to call a Supabase. Basically you define all functions in actions.ts file or what ever and use them to call supabase from server components, kid of similar seperation of concerns ))

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

    I always wanted to like Supabase. I do like a few things, but I have always felt friction. Will give Convex a go, thanks!

  • @CallumFlack-k6o
    @CallumFlack-k6o 23 วันที่ผ่านมา

    Great overview, loads of knowhow. Thank you.

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

    Hi junior dev here, do you mind showing how to host convex in the cloud or a server now that its open source

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

    In terms of schema, you can do it all in code with supabase too, you have both options. You actually don't have to use the ui at all.

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

    Great introspection. Thanks for your unfiltered review :)

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

    Thank you for this video! I may give convex a try and see how it goes. I've been trying to use supabase for a side project but have run into a lot of the pitfalls mentioned in this video.

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

    i am having a seperate backend that used for generating ai response. How can i use convex to make an api request to my be endpoints. Thank you

    • @WebDevCody
      @WebDevCody  7 หลายเดือนก่อน +3

      you can use a convex action and just do a normal fetch request, then when you get the response back, pass the response data to a mutation to store that info somewhere if you want.

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

    In the first 5 minutes I was already sold on convex

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

    I think Supabase being "just Postgres" is potentially a pro or a con depending on how you look at it. The trade off of it being something you might have to learn is that if you ever want to migrate from Supabase it'll be much easier, since you can deploy/host Postgres pretty much anywhere. Not sure you'd get the same benefits with Convex
    Also, I feel like Postgres is pretty much a "figured out" system. I know that whatever I'd need to do I can more easily find a solution through pg extensions or even ChatGPT. Probably not the case with Convex (as much)

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

      Yeah idk how truthful “just Postgres” actually is. I’m assuming there is a lot of extra configuration and work needed to build your own api which wraps postgres and hooking into the real-time capability. Self hosting supabase seems like a more feasible option, but a complete removal of supabase and going straight to Postgres probably involves a lot of work, especially if you didn’t structure your code properly to abstract away your use of supabase.

  • @lisander-lopez
    @lisander-lopez 7 หลายเดือนก่อน

    I agree, learning curve is crazy, but I prefer "database lockin" over "vendor lockin" as well as, Auth in supabase is sweet! Supabase is more battle tested. I am starting a project, I decided to go with supabase... Maybe next time I will do convex. But your content seems like it will shift towards convex :(

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

      Nah my niche is still just general web dev, react, and next

  • @pieter-venter
    @pieter-venter 7 หลายเดือนก่อน

    Convex seems awesome. I hate supabase. When I started a new job at a startup where the juniors that I took over from had supabase queries straight in reaction components, the first thing I did was to take all of that out and wrap Prisma around a standard db string to supabase until the we eventually migrated the db itself to RDS, but had I known about Convex back then I would probably switch to that.
    For permissions (authZ) I use casl. It has a plugin for Prisma. I'll see if I can write a Convex plugin but even without that it's fairly straightforward to use it out the box

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

      I think supabase is fine if all you want is a postgres db host (although I'd probably trust AWS RDS more to guarantee my database will always stay online); but yeah I agree if your react code is doing queries to the supabase API, you're going down an unmaintainable path.

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

    Does convex Have support for Svelte,Vue ? you should have included front end Framework support in the comparison. Convex is only focused on react on the frontend

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

      I’m working on Svelte & supabase for my project , would you like to connect ? @blujosi

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

    Cody please tell me what you use for the flowcharts, do you use a graphics tablet? Or normal mouse? You have strong eraserio skills lol

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

      I use my track pad on my macbook

  • @Zero-nh4ke
    @Zero-nh4ke 7 หลายเดือนก่อน +2

    Cuz It’s simple Convex is the sponsor of the this video 😂

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

      this wasn't a sponsored video

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

    Could the recompilation of convex be a problem if I don't have a performant laptop?

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

      I have a shit laptop and it runs fine 😂

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

    Thanks for going in such details man! Much appreciated!

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

    man I love tech so much!

  • @ivan.jeremic
    @ivan.jeremic 6 หลายเดือนก่อน

    Strapi never being included as an option in comparisons like these makes me think they will sooner or later go bankrupt😅

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

      Strapi is a cms, I wouldn’t compare it

    • @ivan.jeremic
      @ivan.jeremic 6 หลายเดือนก่อน

      @@WebDevCody I know, but it is also a layer over a database that allows you to work with data.

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

    loving these comparison videos :)

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

    Hi. I am an aspiring web developer. I am building projects in nodejs with express, mongodb and vite- react.
    I’m not a fan of nextjs. However I’ve seen you have plenty videos with tech, not only using nextjs.
    Do you have a video presenting tech stacks of js in 2024?
    I mean I want to be focused on ts, node, react.

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

      I only use next now honestly; it's less complexity imo

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

      you said you are an aspiring web developer and you already don't like Next. Have you used it a lot and used alternatives? Why do you not like it?

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

      @@sagarsubedi in the first place, I hate the pricing plan. It’s a ripoff.
      Secondly, I find it hard to understand.

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

      @@leojohn6702 I agree that pricing is bit of a ripoff, but that is VERCEL, not Nextjs. I was talking about the framework, not the company or the platform. To your second point, I guess that's fair to not be a fan of sth you find hard to understand. Fair enough!

  • @dr.lazysloth3415
    @dr.lazysloth3415 7 หลายเดือนก่อน

    Thanks for this video

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

    What about firebase?

  • @dr.lazysloth3415
    @dr.lazysloth3415 7 หลายเดือนก่อน

    In wonder if you ever tried firebase. I am curious what your thoughts are.

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

      I haven’t tried it yet

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

      @@WebDevCody 👀 quite rare to find people using latest tools on daily basis but not the established tool

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

    great video again!

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

    Going to give convex another shot after watching this. I'm a supabase fan but you've articulated my fusturations over some of the things like rpc very well. Convex for me is a slight learning curve and I really wish there was more guides and tutorials and tutorials that are not 3 hours long going over it.

    • @WebDevCody
      @WebDevCody  7 หลายเดือนก่อน +4

      I have a crash course 12 min video on my channel you should check out

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

      ​@@WebDevCodycan you make 30-40 min crash course

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

    definitely type safety and atomicity are two reasons why I would pick convex without hesitation
    I've been using convex for some time and I like it
    I got a bit sidetracked by actions and mutations distinctions. The docs tell you to use mutations as much as possible and schedule actions from the mutations. But I noticed that in practice what you want by default is to call an action directly from the frontend, for, say, calling a 3rd party and then writing the response in the DB and show a loading state while this happens

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

      use mutation unless you need to make an async request to a third party service, then I'd just invoke the action directly from the frontend and have that action call mutations

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

      @@WebDevCody Yes, that was my conclusion too. The alternative would be to call a mutation from the client and the mutation schedules an action call, which can be done if we don't need or want a loading spinner in the client that shows the state of the request. There's also the possibility to schedule mutations from a mutation (I think). This is might be useful for things which can be done in the background and might take a while, for example, recursively batch delete all the records related to a specific user
      the docs seem to suggest as default to call a mutation that schedules an action, but then I can't show a loading spinner in the client because the client doesn't know when the action completes. Or at least, I didn't see a way that is not awkward and overly complicated (like adding a "pending" property to the record that is going to be updated)

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

      @@luiswebdev8292 the way I'd recommend doing that is actually adding a status field to your record. Since convex will automatically update your UI, if you just initialize your record as "pending" and then later change it to "processed", your UI can easily show a spinner / show the results when it's done. It sounds like you are running a long running async process (like an open ai request), and I think having a status property is the best approach.

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

      @@WebDevCody it's a sequence of open ai calls. I think you're actually correct, if I do as you say, then it's possible to show a spinner even if the user refreshes the page as the status at any given time comes directly from the DB

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

    Do you have a MS in CS?

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

      no just a bachelors

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

    Great video , a very thorough comparison. Convex looks really good and they should continue to work with content creators because they are the first resource folk use to learn a new tech and you have some excellent examples. Btw I use Supabase because of their auth and Postgress support. Attended their launch weekend where their cofounder talked about their auth service .

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

      Convex has auth now! In case you want to check it out for a future project

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

    Really nice video! :D
    Have you compared price scaling for Convex + Clerk compared to Supabase?
    Another question, is there something you have found in Convex that Supabase is completely missing or vice versa? (other than Auth missing within Convex)

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

    Something I think you didn't mention is that you can't really write complex queries with the Supabase "ORM". You can't do a left join or a simple join between two tables that don't share a foreign key. I started a project with Supa and was pretty disappointed that I had to jump to table views or functions the moment I needed more than a basic select

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

      of course you need foreign keys to perform joins. it's a relational db jc

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

      You can use it with prisma

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

    One thing you missed is that you can't self host convex at this point. While supabase does provied self hosting through the docker image but it's not that good as compared to their service.

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

      I talk about that in the video.

  • @logantcooper6
    @logantcooper6 7 หลายเดือนก่อน +8

    Front end devs will do anything to avoid learning a real backend language

    • @WebDevCody
      @WebDevCody  7 หลายเดือนก่อน +12

      How’d that comment make you feel? Did it make you feel powerful?

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

      Sometimes speed matters.....

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

      What are you talking about lol, Nodejs literallly is a backend language lmao, hes using the API routes

  • @Cyber-Bison
    @Cyber-Bison 7 หลายเดือนก่อน

    This was super useful. Thanks so much Cody. Definitely switching to Convex as a default BaaS