Тёмный

Google Sheets & NextJS 

Icodestuff
Подписаться 1,7 тыс.
Просмотров 19 тыс.
50% 1

In this tutorial, learn how to build a form that save records into Google Sheets using NextJS & TailwindCSS.
🔗 Resources
- NextJS ([nextjs.org/](nextjs.org/))
- Google Spreadsheet API ([www.npmjs.com/package/google-...](www.npmjs.com/package/google-...)
- React ([reactjs.org/](reactjs.org/))
- TypeScript ([www.typescriptlang.org/](www.typescriptlang.org/))
- TailwindCSS ([tailwindcss.com/](tailwindcss.com/))
🎨 My Editor Settings
- PHPStorm (JetBrains)
- Material Deep Ocean Theme
- Atom Material Icons
🔖 Topics Covered
#NextJS
#GoogleSheets
#TailwindCSS
#React
#TypeScript
🛠 Equipment
Microphone ([amzn.to/3GmWZmc](amzn.to/3GmWZmc))
Dell Monitor ([amzn.to/3GmWZmc](amzn.to/3GmWZmc))
Macbook Pro ([amzn.to/3GmWZmc](amzn.to/3GmWZmc))
Logitech Camera ([amzn.to/3GcQoL5](amzn.to/3GcQoL5))
- Screenflow ([www.telestream.net/screenflow...](www.telestream.net/screenflow...)

Опубликовано:

 

2 фев 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@CodyWilson11
@CodyWilson11 2 года назад
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.
@Realreal12345
@Realreal12345 Год назад
This was super helpful and saved me a bunch of time. Thank you!
@slamonega
@slamonega 2 года назад
Could you share a github repository of this example?
@himanshuagarwal7925
@himanshuagarwal7925 8 месяцев назад
Thank you very much exactly what i was looking for. Very helpful.
@yuenchen4882
@yuenchen4882 2 года назад
Really helpful, thanks a lot!!!
@leveritablesamuel
@leveritablesamuel Год назад
Thanks so much! Great help 😃
@tumi_tigur
@tumi_tigur 2 года назад
Great video, thanks a lot!
@ReiSodaSteven
@ReiSodaSteven Год назад
Thanks for the tutorial.
@riceisgood81
@riceisgood81 6 месяцев назад
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”).
@andreymorozow4225
@andreymorozow4225 Год назад
very cool, thank you!
@victordavilaamelinckx5284
@victordavilaamelinckx5284 7 месяцев назад
Awesome!
@tochukwungene
@tochukwungene 9 месяцев назад
Thank you!
@ArjunKrishna-r4b
@ArjunKrishna-r4b 19 дней назад
Thanks for helping!!!!
@lua.alvaro
@lua.alvaro 10 месяцев назад
Muito obrigado my friend! Ajudou demais...
@jeremydudet
@jeremydudet 2 года назад
dude. this was a god send for me. Thank you
@KhoaTran-fr1jo
@KhoaTran-fr1jo 21 день назад
nice tut
@buckle42
@buckle42 5 месяцев назад
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 3 месяца назад
i know how to do that! it isnt that dificult
@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 3 месяца назад
Thanks bro
@totiruiz5913
@totiruiz5913 2 года назад
This was super helpful, thank you for your clear explanation and code example!
@mileicampeonmundial
@mileicampeonmundial Год назад
how is the performance?
@ocrit285
@ocrit285 11 месяцев назад
hi sir, can you update tutorial using the new next.js 13.4 with app dir?
@kzzesama1959
@kzzesama1959 Год назад
is there any way to block users to post multiple requests in short time or does this api automatically blocks.
@patrycksilva4440
@patrycksilva4440 2 года назад
my sheet dont update when i do de request, help me
@sanjibsaau
@sanjibsaau Год назад
Could you share a github this example
@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 11 месяцев назад
​@@alancoronado9835same, did you figure it out ?
@ba55junke
@ba55junke 5 месяцев назад
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' } ]
@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 года назад
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 Год назад
try adding NEXT_PUBLIC_ prefix to environment variables, that solved my issue in production with Vercel
@agustorres4281
@agustorres4281 Год назад
@@carlos__z Ok, i'll try it, thanks you!
@Michael-Martell
@Michael-Martell 9 месяцев назад
@@agustorres4281yo don’t do that!!!
@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 5 месяцев назад
in vercel under settings > environment varibles add the stuff from your .env.local and it worked for me @hakimhamili
@ba55junke
@ba55junke 5 месяцев назад
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?
@Michael-Martell
@Michael-Martell 9 месяцев назад
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?
@quanganho6859
@quanganho6859 2 года назад
dude can you share your code please?
@Icodestuff
@Icodestuff 2 года назад
github.com/icodestuff-io/nextjs-google-sheets
@starless0021
@starless0021 Год назад
7:30 plugins
@EPANOUI243
@EPANOUI243 Год назад
erreur 500 héberge sur vercel
@luisbarbosa5597
@luisbarbosa5597 Год назад
no sauce code? bs
@sernn2327
@sernn2327 Год назад
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)
@afraz3301
@afraz3301 Месяц назад
PLEASE LINK YOU GITHUB
Далее
Accessing Google Sheets from Next.JS
13:20
Просмотров 6 тыс.
Fetching Data Doesn't Get Better Than This
6:58
Просмотров 103 тыс.
Why The Windows Phone Failed
24:08
Просмотров 193 тыс.
Convert Google Sheets into a REST API
14:10
Просмотров 4,9 тыс.
TypeScript Origins: The Documentary
1:21:36
Просмотров 280 тыс.
The favorite way to create forms in Next.js
11:27
Просмотров 22 тыс.
How to Use Google Sheets as a Simple CMS
10:12
Просмотров 9 тыс.