Supabase Tutorial #2 - Connecting to Supabase

Поділитися
Вставка
  • Опубліковано 30 сер 2022
  • In this tutorial you'll learn how to connect your frontend application to the Supabase backend.
    🐱‍💻 Access the course files on GitHub:
    github.com/iamshaunjp/Supabas...
    🐱‍💻 React Complete Tutorial (on Net Ninja Pro):
    netninja.dev/p/build-websites...
    🔥🔥🔥 Other resources:
    Supabase docs - supabase.com/docs
    ⭐⭐ Get access to all free & PREMIUM courses on Net Ninja Pro:
    net-ninja-pro.teachable.com/p...

КОМЕНТАРІ • 29

  • @cryptoboy1461
    @cryptoboy1461 Рік тому +12

    Every time I blink, a new database or js framework is born 😏

  • @maskman4821
    @maskman4821 Рік тому

    cool, hopefully Shaun covers realtime in this series, I have been trying realtime api but never connects to supabase server, I still cannot find solution, hoepfully Shaun gives a short demo or example on realtime, very much appreciated 🙏

  • @catreunion
    @catreunion Рік тому

    Thank you teacher 🙏🏻

  • @senturkdev
    @senturkdev Рік тому +2

    That is exactly what I'm looking for.

    • @NetNinja
      @NetNinja  Рік тому +1

      Awesome to hear, hope you find it useful Mehmet!

  • @mrdiin.dev_
    @mrdiin.dev_ Рік тому +1

    Hi Shaun, this is great!!! Thanks! I hope you'll get to make an Appwrite tutorial soon as well ! ☺🙏 They're pretty much similar though with a few exceptions like NoSQL DB for Appwrite.

    • @cryptoboy1461
      @cryptoboy1461 Рік тому +1

      I didn't know that another alternative to firebase other than Supabase exists. Thanks for mentioning it! I'll go give it a try.

  • @ollyoctavian
    @ollyoctavian 11 місяців тому +3

    Correct me if I’m wrong but isn’t it bad practice to expose the anon key in the JavaScript bundle as an environment variable?

  • @wusaby-ush
    @wusaby-ush Рік тому +1

    Always your tutorials in right time
    But I have question, why supabase not appwrite, as futures appwrite have more
    But as popularity in twitter I see supabase, is there a spesfic thing make you prefer supabase over appwrite

  • @peanuts675
    @peanuts675 Рік тому

    hey there net ninja could you please do a video on creating trigger function that gets data from signup meta data and inserts it into new table when user signs up, thanks alot

  • @alexg7282
    @alexg7282 5 місяців тому

    Thank you !

    • @NetNinja
      @NetNinja  5 місяців тому

      No worries! :)

  • @usmanmughal5916
    @usmanmughal5916 Рік тому

    Hey Ninja, please next project on google drive api using react and pdf uploading,viewing etc.

  • @basitkhan3853
    @basitkhan3853 Рік тому +1

    Thanks for your amazing work can you make tutorial on react native

    • @isaacqadri
      @isaacqadri Рік тому

      Hey Basit, The Net Ninja already has a tutorial on React native which you can check out from the channel playlists
      or simply just click this link > ua-cam.com/play/PL4cUxeGkcC9ixPU-QkScoRBVxtPPzVjrQ.html

  • @zachariayussuf7652
    @zachariayussuf7652 Рік тому

    Uncaught TypeError: Failed to resolve module specifier "@supabase/supabase-js". Relative references must start with either "/", "./", or "../"."
    I am getting that error after following along . I am using vanilla JS

    • @puneetarora1714
      @puneetarora1714 Рік тому

      this @alias is actually set using a config file, i have a typescript project so it is in my tsconfig file, you should look into how to get it working in vanilla js

  • @china2298
    @china2298 Рік тому

    I don't know why after entering everything in my code from tutorial 2 , when I enter "npm start" its just a blank page on the website. There's no home page or anything. Any reason?

  • @owenwexler7214
    @owenwexler7214 Рік тому

    2:20 making your Supabase key a client-side environment variable has big security risks - anyone who can inspect a webpage and look at source code can find it. Is there an alternative?

    • @namangupta1817
      @namangupta1817 Рік тому

      THats for public use only if you set the RLS correctly. Otherwise, I guess you can use any meta framework like Next or Remix and just make a custom API (Remix calls it BFF).

    • @owenwexler7214
      @owenwexler7214 Рік тому

      @@namangupta1817 yeah my solution with meta-frameworks (I use NextJS) is to hide my backend keys in server-side env variables where they can’t be found on the client side, then use a NextJS API route (restricted to only my frontend server by CORS) as a proxy to my actual backend that can get the key from server side env variables. Gonna be coming out with a mobile app soonish so trying to figure out how I’m gonna manage backend keys and other secrets in that world, without such proxy servers available to me.

  • @isaacqadri
    @isaacqadri Рік тому +1

    ❤️🌸👍🏻

  • @EricOnYouTube
    @EricOnYouTube Рік тому +1

    how can you type 'div.smoothie-card' and that then turns into HTML? I am so confused. Thanks.

    • @cryptoboy1461
      @cryptoboy1461 Рік тому +2

      Because he is using an extention called Emment

    • @EricOnYouTube
      @EricOnYouTube Рік тому

      @@cryptoboy1461 oh thank you! That worked.

  • @SpicyCrisppp
    @SpicyCrisppp Рік тому

    Too fast sir. I am not getting how to restart that server

  • @bvnhome
    @bvnhome 6 місяців тому

    this is react-supabase tutorial

  • @Pareshbpatel
    @Pareshbpatel Рік тому

    {2023-03-20}