Create Calendar Events in React With Google Calendar API and Supabase (Supabase Providers Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ส.ค. 2024
  • 🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
    In this video we will set up a Supabase project and link it to a Google OAuth provider. This will allow us to authenticate with Google and access the Google Calendar API. Whether you're a beginner or an experienced developer, this video will show you how to create a React application that uses the Google Calendar API to create events. This video is also a great introduction to using Supabase providers (Supabase OAuth 2.0 providers). The concepts discussed in this video can help with any OAuth provider in Supabase. Supabase OAuth authentication is also incredibly useful because you can use the same logged in user to manage other Supabase services (such as database or large file storage).
    Final code: github.com/coopercodes/Google...
    Business inquiry? Email thecoopercodes@gmail.com
    0:00 Project Demo
    1:17 Supabase and Google setup
    6:50 Initialize Supabase in React
    9:27 Setup Google sign in / sign out
    16:22 Handling Date inputs (start / end of event)
    18:47 Handling text inputs (even name / description)
    20:25 Create Google Calendar event
    28:05 Testing event creation (thanks for watching!)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @angus6858
    @angus6858 ปีที่แล้ว

    Just saved me a few hours of manual configuration for my project! Super insightful and easy to follow. Thanks mate.

  • @clarissadesimoni
    @clarissadesimoni ปีที่แล้ว +2

    i'm at 8:50 (haven't watched the whole tutorial yet but it's very well explained so far) and when you said "merry christmas even if you're watching this 6 months later" i noticed tomorrow it's exactly 6 months from the publication date lmao

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

    Awesome video.. used this as a basis for TH-cam data Api and it worked wonders. Spent a week looking everywhere but this video cleared supabase oauth and api alltogether for me.

  • @ilkoTheTiger
    @ilkoTheTiger ปีที่แล้ว +7

    Been through the entire Google Documentation of Calendar API, 2 years of JavaScript experience, keen with mern stack and still lost 2 weeks to build the app, this literally unleashed me, cheers!

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

      Google docs are absolute garbage, haven't such a shitty API and docs in a very long time.

  • @user-hy4yd6nw9g
    @user-hy4yd6nw9g ปีที่แล้ว

    Great tutorial (Exactly the video I was searching for :)

  • @tobotis2658
    @tobotis2658 ปีที่แล้ว +1

    Exactly the video I was searching for :)

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Glad that it was helpful, thank you for watching!

  • @paulthomas1052
    @paulthomas1052 ปีที่แล้ว

    Great tutorial with a fantastic mix of technologies. Very useful - thanks :)

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Thanks for watching! Glad you found it useful

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

    You are a lifesafer!

  • @afacery
    @afacery ปีที่แล้ว

    That is awesome man, keep going with your amazing work. We learn a lot from u :))

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Glad to hear that the content is helpful :D more stuff on the way soon! Thanks for watching

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

    wow thank you so much, I can't thank you enough.

  • @perpetuel7118
    @perpetuel7118 ปีที่แล้ว

    Hello Cooper, love the video and have been a subscriber for some time. I am working on a saas product that helps doctors better manage their practice and take care of their patients. I would like add a feature where patients can book appointments on a public website with the doctors for a visit/consultation. Is that something that can be done with google calendar api? Can the doctors see their calendar in my app? I'm currently In the research phase and this video was my starting point 😁

  • @ElliotDooleysmith
    @ElliotDooleysmith ปีที่แล้ว +3

    Great video.
    I haven't heard of Supabase before. Does Supabase handle refresh tokens for Google auth?
    I'm working on something that needs constant cal updates without the user having to contest every hour.

  • @cheskobeans
    @cheskobeans ปีที่แล้ว +1

    Hello! Thanks for the tutorial, followed it and worked like a charm. I do have one question, when deploying my app with Firebase, after logging in with google I get redirected to localhost after signing in. How can I fix that?

  • @afshinmoshrefi
    @afshinmoshrefi ปีที่แล้ว +3

    great tutorial - would be 10x more helpful if you used just React on a standalone server - I'm trying to get my React app to creat events in google calendar - I'm using your video and trying to understand how to do it on a React app running on an Ubuntu server.

  • @wc3815
    @wc3815 ปีที่แล้ว

    You deserve more subs and views!!

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      I'm getting there :). Thank you for your support!

  • @_dvyne
    @_dvyne ปีที่แล้ว

    I really enjoyed this video and the subtle jokes made me sub I immediately 🔥🔥

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Hahaha glad you appreciated the jokes, thanks for watching :)

  • @blurabbit6476
    @blurabbit6476 ปีที่แล้ว

    great tutorial, Please do more with the same set of technologies

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Are you interested in seeing functionality for other Google APIs with Supabase? Let me know what you'd like to see :)

  • @chris-zlrr
    @chris-zlrr ปีที่แล้ว

    FINALLY A GOOD VIDEO

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว +1

      FINALLY A GOOD COMMENT! Hahahaha thanks man appreciate it, this is late but hope it helped.

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

    Hey thanks for this, im planning to learn using a social media scheduler for instagram. Do ylu have any video or tutorial arouns that? Im invested into nextjs app rotuing with supabase. But im open to learning new tech stack if needed.

  • @muhammadhafizibinkamalarif7203
    @muhammadhafizibinkamalarif7203 ปีที่แล้ว

    by creating event can i sent a zoom link also? can it work? like if u tab on that link not just a string.

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

    if you have a different type of login (eg: email and pass) does the Google login override the other login? and does the Google session expire?

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

    Excellent video!, you know how make a meet whit the event?

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

    Does the access token change with time like refresh

  • @zimin8
    @zimin8 ปีที่แล้ว

    Sincerely thank you for this video i was struggling +sub + like

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Glad it helped. Thank you for watching :)

  • @dimasnytin
    @dimasnytin ปีที่แล้ว

    Greatly

  • @jason.l
    @jason.l ปีที่แล้ว

    epic tutorial

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      epic comment, thanks for watching bro :)

  • @blackzero5592
    @blackzero5592 ปีที่แล้ว +2

    Hey Cooper Codes! First of all great tutorial..
    I am having an issue there. I followed all of your implementation after successful signin I am still having session null? Can you please guide me where I am wrong?

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

      i'm having same issue? did you get it resolved now

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

    I want to integrate the calendar in my app , any idea .

  • @DeIgado95
    @DeIgado95 ปีที่แล้ว

    Awesome

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว

      Thanks for watching :)

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

    Does anybody know how I could add a Google Meet link to the event?

  • @shirabarzel-vinitzky8790
    @shirabarzel-vinitzky8790 ปีที่แล้ว

    Thank you very much for the video, it was exactly what I needed. The DateTimePicker did not work for me. I imported it and it still doesn't work, I would appreciate your help. Thanks

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว +1

      That's a shame to hear the DateTimePicker wasn't working out, there should be similar components that exist that eventually give you that date format that you need for Google Calendar. I'm busy rn but I'd suggest finding a similar React component, and then following a similar process to this video when it comes to handling the date and passing it over to Google Calendar.

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

    Does anyone know whats useSession and useSupabaseClient Substitute in nuxtjs/vuejs?

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

    A dumb question: if I deploy a calendar app to playstore that will probably use too much of my token key..will I be charged? :(

  • @cemakdenizcom
    @cemakdenizcom ปีที่แล้ว

    good explanation but I want to know that, can any google user send my own calender a note like a reservation book ? ?if they can not, what is the point of create a react app for send myself a calender note ?

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว +1

      I believe there is a way to make a public API key so others can add to a certain calendar, but that was not covered here. This video covers the use case of let’s say you had a meeting application, and you wanted everyone logged in with Google to be able to save the meeting to their google calendar. Or a habit tracking app and you want to add daily events to a users calendar.

    • @cemakdenizcom
      @cemakdenizcom ปีที่แล้ว

      @@CooperCodes thank you for explain Cooper

  • @3ashall
    @3ashall ปีที่แล้ว

    Me watching 6 months later