Live data from Hacker News

Show HN: Using Google Sheets as the back end/APIs of your app

zerosheets.com

51–60 of 171 posts

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#51

Reading the documentation, I was expecting more tbh. As I found out there is no way to customize the API. The response is always a JSON dump of that google Sheet.

I found the docs pretty minimal as well. Ironic since they specifically called out Google for shallow docs in the description.

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#54

Funny story. Before pivoting my startup to Loom, we were a user testing company named Opentest. Instead of spinning up a DB and creating a dashboard for my co-founders to look at who requested certain user tests, I just dumped everything into a Google Sheet. It was so good. No downtime. Open access. Only 3 people looking/editing, so no conflict. Didn't have to deal with database upgrades or maintenance. I often think…

[deleted]

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#55

Funny story. Before pivoting my startup to Loom, we were a user testing company named Opentest. Instead of spinning up a DB and creating a dashboard for my co-founders to look at who requested certain user tests, I just dumped everything into a Google Sheet. It was so good. No downtime. Open access. Only 3 people looking/editing, so no conflict. Didn't have to deal with database upgrades or maintenance. I often think…

Google Sheets is the backbone of several projects I work on, even though I'm a SWE at a large company. It's used as a fronend in some places or a backend in others. But part of this is because we have too much red tape around using simple eng tools like React or Postgres.

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#56

Earlier quoted context omitted.

Do you really want to deal with caching logic for what should be a simple API call? Sounds like a convincing argument to use whatever this product is.

client = (APIcall) => redis.get(sha1(APIcall)) || { res = api(APIcall); redis.set(sha1(APIcall),res) return res } Not that hard. Like 10 lines of code to get a decentish cache going.

Assuming you have Redis

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#59

Is the Google Sheets API rate limit open enough for actual production use? I thought it was pretty restrictive, no more than 60 writes per minute, but I'm not sure about the reads restrictions.

I used Google Sheets as a data source that business people could update, but eventually we moved away from it as we found it unreliable. We would get an occasional error (maybe a 429) even though we were polling the sheet once a minute (we had a few other sheets that polled once every few minutes).

This manifested as an issue when doing a deploy but being unable to get critical data. We added retries and stuff like that but it seemed not great to run a business of something that isn’t designed for this purpose.

Re: Show HN: Using Google Sheets as the back end/APIs of your app

#60

I'd like to plug PocketBase [0] for a similar use case. Last week I was looking for a place to store random data with API access, and was looking at making a Google Sheets backend, but PocketBase was easy and didn't have a 60 rpm quota [1]. Deploying to a cheap VPS was very easy with CapRover. [0] https://pocketbase.io/ [1] https://developers.google.com/sheets/api/limits

I was looking at pocketbase but I didn't really understand how to use it. I know sqlite and am good at SQL, but couldn't work out how to use it.

You need to query/write using HTTPS requests
Post reply on HN