If your application already has a database, just make another table for the stuff you want. Relying on another SaaS for these small bits of data is just asking for trouble and downtime. There are tons of hosted databases available (e.g. redis.com) and Cloudflare Workers could be another approach, but I wouldn't bother with any of them.
Also, there is nothing wrong with being a beginning web dev, and your question is not a dumb question, but I'd have to call it a beginner question. I'm not sure HN is the right place for that. Someplace like Stackexchange or Reddit might be more suitable.