Google Sheet API with NodeJS | Google Sheet as backend | Google Sheet CRUD operation with NodeJS

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • Hello friends,
    Here in this video, I will explain to you how you can use Google Sheet as a backend to your project and do CRUD operation with NodeJS.
    You will need:
    (1) GCP account - console.cloud....
    (2) NodeJS installed on your system
    (3) Some programming experience with NodeJS
    The code used in this video can be found here
    github.com/Raj...
    You can contact me to build any kind of Chatbot or need help with the backend of the Chatbot.
    My Fiverr profile - www.fiverr.com...
    My Upwork profile - www.upwork.com...
    My LinkedIn profile - / rajkkapadia
    You can share your views on this video in the comment section.
    If you like my work, subscribe to my channel for more new videos.
    Enjoy the life, Feel the music.
    Peace.

КОМЕНТАРІ • 42

  • @QuốcHuyNguyễn-r7r
    @QuốcHuyNguyễn-r7r 2 місяці тому +1

    Thanks bro. It's helpful for me

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

    Mic quality is amazing, made me stay

  • @kamusiimeraymond314
    @kamusiimeraymond314 2 роки тому +1

    Thanks Sir. Great work!

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 11 місяців тому +1

    Great!

  • @robinkumar9829
    @robinkumar9829 2 роки тому +2

    very helpful sir. i have a question, how to update the headerValue ,for example your one of headerValue is 'email', i want to change it to something else. please guide

    • @rajkkapadia
      @rajkkapadia  2 роки тому

      Hello, I am glad that my work helped you, but I am not 100% sure, but we cannot change the header values...

  • @jasser4594
    @jasser4594 2 місяці тому +1

    Can I create a Google Sheet using Express.js, perform CRUD operations, and share it with a Gmail account to view the data?

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

    Hi, helped a lot. One question, in line no. 36 @ 07:08 (while printing the data with respect to its column name). My column name is something like ("User Name" instead of "user_name") which has space in it. Because of which I am unable to get the data. Can you please guide here, what to do in such case??

  • @starchcode6021
    @starchcode6021 2 роки тому +1

    would this work on backend server with PM2? I made something similar but used google's library to authorise. works well when I run the app with Nodejs but not when I run the app with PM2 in the server

    • @rajkkapadia
      @rajkkapadia  2 роки тому

      Hey, I am not sure about the PM2. May be you will need a different setup for it.

  • @jocelynanahidvelardebarron7328

    Hello! Great tutorial but i still keep getting this error "doc.useServiceAccountAuth is not a function"

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

      Okay, I will check and maybe create an updated video as well...

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

      @@rajkkapadia Great!

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

      @@jocelynanahidvelardebarron7328 I have checked the code again, I think you need to install the packages first...

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

    I wanted to get rows filtering them by the user's email and date registery, is it possible??

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

      Yes, it is possible, I have shown in the video as well...

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

      @@rajkkapadia But is using for-loop the only way to do it? What I meant is if google sheets API allows us to make a query

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

      @@randomicallyrandom no it doesn't have that capabilities... You can use Airtable for that...

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

      @@rajkkapadia I see, thank you

  • @ugochukwuamajor7114
    @ugochukwuamajor7114 Місяць тому +1

    What if you want to update the password?

    • @rajkkapadia
      @rajkkapadia  Місяць тому +1

      The request will have the latest data...

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

    Hello sir, my IDE appear an error: "useServiceAccountAuth is not a function", and how can i fix it? Can you tell me, please. Thank you

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

      I am unable to understand your error clearly... Can you explain it with more details...?

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

      @@rajkkapadia At the beginning of the video, notice the function "useServiceAccountAuth()" was used in the line 47, i think it no longer used according to the documentation provided by the google-spreadsheet npm library. Do u have another solution?

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

      @@anleuc3246 I think reading the documentation is the only solution...

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

      @@rajkkapadia Yes i did, but the error keeps popping up non stop, can you make a video tutorial? Please sir

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

      @@anleuc3246 Can you become a member of my channel..? I will record exclusive material for you...

  • @user-on7hj2ju9k
    @user-on7hj2ju9k 3 роки тому +1

    hey man, when i try to work with google spreadsheet api i get one error all the time. Ive tried many things but every time error pops up - 'invalid_grant: Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe'. If you just give some advice i'd really appreciate it man! Cheers

    • @rajkkapadia
      @rajkkapadia  3 роки тому

      Hello, I think if you followed my tutorial, I don't use JWT, I use service account json file to authenticate my request. This is one of the way to authenticate your request.

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

      how we can get the private key and token information now one guide about this please can you mention

  • @IamRobertMTV
    @IamRobertMTV 3 роки тому +1

    can you map the values I get for all rows into a useState array?

    • @rajkkapadia
      @rajkkapadia  3 роки тому

      You can easily achive this, loop over the rows you get and push them into an array.

    • @IamRobertMTV
      @IamRobertMTV 3 роки тому

      @@rajkkapadia can you give a sample snippet?. Thanks

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

    Can we create Google sheet using nodejs??

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

      Yes, you can do that, you need to look into the documentation of Google meet...

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

      @@rajkkapadia okay. Thanks buddy..

  • @Superuser-r1y
    @Superuser-r1y 2 роки тому +2

    Can it handle 100k user per second??

    • @rajkkapadia
      @rajkkapadia  2 роки тому +1

      I am not sure of that, but it is google, it should, make sure your code handles that many requests...

    • @Superuser-r1y
      @Superuser-r1y 2 роки тому +1

      @@rajkkapadia ok thanks