I put together a demo app to show how to use gsheets-connection and st.feedback to collect app feedback into a Google sheet so it’s easy to gather feedback without requiring a database or other backend setup.
Curious, if you’re going to go through the hoops of setting up a service account, etc. why not just use a database? What’s the draw of using Google Sheets?
This is coming from someone that put off learning how to use a database for way too long. It turns out it’s super easy, or at least it is now that gen AI can write queries and migrations for you.
My workflow is now:
use SQLAlchemy. SQLite for local db instead of a CSV/JSON, then move to hosted PostgreSQL
to view and manage the DB I use DBeaver
if you need to make changes you can do theM via DBeaver or ask Claude/ChatGPT to write a migration function that you can run in your main block
make sure to tell the LLM to warn you if anything you’re doing isn’t easily reversible and how you should do it in a safe way
if you get stuck you can export DDL and provide it to your LLM of choice to show it the current state of your DB when your SQLAlchemy model falls out of sync of your actual DB
Hi, @Dimitri_S ,
I’m not trying to discourage people from using a database, and as you say it’s not that hard, but I don’t always want to deal with setting up the DB somewhere and hosting it, and everything else that goes with having an additional piece of infra.
Your suggestions are spot-on for anything worth a little setup, especially for people with SQL experience.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.