Did you know that we can use Google Sheets as our database?
Yes! We can do that 👍.
Today, I will share step by step to do it.
I will use one of th...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, I get problem with child_process:
googleapis & next version:
Anybody have solution?
Ok, try to change
getStaticProps()
togetServerSideProps()
and move allgetEmojiList()
body function togetServerSideProps()
and it's workThank you very much! I was trying google way of doing it developers.google.com/sheets/api/q... from their documentation and it was total hell.
Your way is much simpler and understandable. JWT is much better.
Your most welcome! 🥳
Sheesh, best tutorial I've found so far. Thanks so much for that!
To everyone who is on a newer next.js version with the app-directory:
Hi thanks for the useful guide it's very simple and complete! Question for you or maybe someone else. Did you try to cache this requests to be able to use them in different routes without the need to share props between them? I'm trying to use cache from react with no luck, I just opened an issue on googleapi repo too but maybe somebody already found a solution here. Thanks again!
UPDATE: I closed the issue, FYI it turned out react cache doesn't cache request between different server components while unstable_cache from next/cache does hope I will save some time if you are stamping on the same issue
Thanks a lot! GitHub repo starter here: nextsheet.vercel.app/
will this be valid if i have users logged in and i want them to store there data into there respective google sheets (asking for permission from them obviously )
Way simpler than other docs I found online. Simple and concise.
Good post!
i am getting this error....
Missing required parameters: spreadsheetId, range
You need to use the keyword 'range', like:
Thanks! This was super helpful
It is my pleasure, to be able to help 😊