Google Sheets & NextJS

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 50

  • @riceisgood81
    @riceisgood81 7 месяцев назад

    Thanks for this video! It was incredibly helpful in getting me unblocked at the Service Account auth step. As of today, it looks like the opts parameter is deprecated but everything inside the object is now its own parameter. I had to directly pass in credentials and scope.
    Also, with the new app router, you don’t need an API route. I was able to use the new Server Actions (“use server”).

  • @ArjunKrishna-r4b
    @ArjunKrishna-r4b Месяц назад

    Thanks for helping!!!!

  • @CodyWilson11
    @CodyWilson11 2 года назад +1

    Just want to say thanks for the amazing demonstration and complete walkthrough. I also adopted your google chrome new tab life counter. You've earned a sub.

  • @buckle42
    @buckle42 6 месяцев назад +4

    Would be so so so helpful if you could please post an update to this using Next.js 13's new src/app routing method for APIs. No one on the internet knows how to do this for some reason including stackoverflow :(

    • @wildchamo
      @wildchamo 4 месяца назад

      i know how to do that! it isnt that dificult

  • @KhoaTran-fr1jo
    @KhoaTran-fr1jo Месяц назад

    nice tut

  • @slamonega
    @slamonega 2 года назад +15

    Could you share a github repository of this example?

  • @Realreal12345
    @Realreal12345 2 года назад +2

    This was super helpful and saved me a bunch of time. Thank you!

  • @himanshuagarwal7925
    @himanshuagarwal7925 9 месяцев назад

    Thank you very much exactly what i was looking for. Very helpful.

  • @ReiSodaSteven
    @ReiSodaSteven Год назад

    Thanks for the tutorial.

  • @leveritablesamuel
    @leveritablesamuel Год назад

    Thanks so much! Great help 😃

  • @tochukwungene
    @tochukwungene 10 месяцев назад

    Thank you!

  • @yuenchen4882
    @yuenchen4882 2 года назад

    Really helpful, thanks a lot!!!

  • @andreymorozow4225
    @andreymorozow4225 Год назад

    very cool, thank you!

  • @ocrit285
    @ocrit285 Год назад +1

    hi sir, can you update tutorial using the new next.js 13.4 with app dir?

  • @victordavilaamelinckx5284
    @victordavilaamelinckx5284 8 месяцев назад

    Awesome!

  • @VMNthemaster
    @VMNthemaster 2 года назад

    Hi there, first of all, thanks for the video, it worked for me
    I just wanted to ask that in my project, I have to create a new spreadsheet for every new set of data; how to do that?

  • @Jota.G
    @Jota.G 5 месяцев назад

    Thanks bro

  • @lua.alvaro
    @lua.alvaro 11 месяцев назад

    Muito obrigado my friend! Ajudou demais...

  • @jeremydudet
    @jeremydudet 2 года назад +1

    dude. this was a god send for me. Thank you

  • @totiruiz5913
    @totiruiz5913 2 года назад +1

    This was super helpful, thank you for your clear explanation and code example!

  • @ba55junke
    @ba55junke 6 месяцев назад

    Did anyone sus out how to get this to work in vercel? cuz I am Hella stuck and whats the point??? if you can't make it work on the web?

  • @hakimhamaili
    @hakimhamaili Год назад

    The problem am having is it is not pushing data to the spreadsheet on production, all of my env vars are working fine and i do get logged that the data is there, but when i check its not pushed, i use vercel for host deployement

    • @ba55junke
      @ba55junke 6 месяцев назад

      in vercel under settings > environment varibles add the stuff from your .env.local and it worked for me @hakimhamili

  • @dingleferry736
    @dingleferry736 Год назад

    Super helpful, thanks! I've been able to get this working locally, but when I try to deploy it through Vercel, I get hit with a POST error:500 every time I try to submit. Any suggestions on how I can troubleshoot this?

    • @alancoronado9835
      @alancoronado9835 Год назад

      I am also getting this error, i think its because the public doesnt have access to GOOGLE_CLIENT_EMAIL, GOOGLE_PRIVATE_KEY, and GOOGLE_SHEET_ID. Though I still want the public to be able to send their data so I am a bit confused on what to do here without giving them that information. Did you figure it out?

    • @vanshvansh4360
      @vanshvansh4360 Год назад

      ​@@alancoronado9835same, did you figure it out ?

    • @ba55junke
      @ba55junke 6 месяцев назад

      You need to add the .env.local vars to vercel in the settings > environment varilbles add the 3 from the .env.local and it should work.

  • @nocturnedev8034
    @nocturnedev8034 Год назад

    Hi I did the same think as you but I got
    code: 401,
    errors: [
    {
    message: 'Invalid Credentials',
    domain: 'global',
    reason: 'authError',
    location: 'Authorization',
    locationType: 'header'
    }
    ]

  • @Michael-Martell
    @Michael-Martell 10 месяцев назад

    This isn’t working anymore unfortunately… (atleast for me) it says api failed due to access control checks. On Google it says that Google may have removed access for service accounts. Or could it be a next 13 issue? The post request looks like it needs restructured. Anyone else get this working recently?

  • @kzzesama1959
    @kzzesama1959 Год назад

    is there any way to block users to post multiple requests in short time or does this api automatically blocks.

  • @agustorres4281
    @agustorres4281 2 года назад

    Hi man, thanks a lot for this tutorial however when i deploy to vercel or heroku and click in the submit button the server response is 503 (service unavailable). Any help will be appreciated!

    • @itsbrex
      @itsbrex 2 года назад +1

      I ran into the same issue with another project deployed on Vercel with the latest Vercel release. There was nothing in the change log but other people are having issues with POST requests in API routes.
      I was able to fix my issue (separate project) by switching it to GET request with query parameters, but that obviously wouldn’t work with a form submit.

    • @carlos__z
      @carlos__z Год назад +1

      try adding NEXT_PUBLIC_ prefix to environment variables, that solved my issue in production with Vercel

    • @agustorres4281
      @agustorres4281 Год назад +1

      @@carlos__z Ok, i'll try it, thanks you!

    • @Michael-Martell
      @Michael-Martell 10 месяцев назад

      @@agustorres4281yo don’t do that!!!

  • @starless0021
    @starless0021 Год назад +1

    7:30 plugins

  • @quanganho6859
    @quanganho6859 2 года назад +3

    dude can you share your code please?

    • @Icodestuff
      @Icodestuff  2 года назад +2

      github.com/icodestuff-io/nextjs-google-sheets

  • @patrycksilva4440
    @patrycksilva4440 2 года назад

    my sheet dont update when i do de request, help me

  • @mileicampeonmundial
    @mileicampeonmundial Год назад

    how is the performance?

  • @sanjibsaau
    @sanjibsaau Год назад

    Could you share a github this example

  • @EPANOUI243
    @EPANOUI243 Год назад

    erreur 500 héberge sur vercel

  • @luisbarbosa5597
    @luisbarbosa5597 Год назад

    no sauce code? bs

  • @afraz3301
    @afraz3301 2 месяца назад

    PLEASE LINK YOU GITHUB

  • @sernn2327
    @sernn2327 2 года назад

    Sir I am able to done this in my local but in production it fail with status 500 internal server error. Any idea pleaseee 🥲

    • @EPANOUI243
      @EPANOUI243 Год назад

      vous avez trouve une solution our cela ?

    • @carlos__z
      @carlos__z Год назад

      for use in Production, don't forget to add the NEXT_PUBLIC_ prefix to all 3 environment and also in Vercel (or the deploy site you are using)

  • @tumi_tigur
    @tumi_tigur 2 года назад

    Great video, thanks a lot!