This thread is basically name your favorite language/framework. My vote goes to good ol:
Node.js + Postgres
Most flexible, biggest ecosystem of all, runs everywhere, talks to everything. Bonus: Get Github Copilot, it knows Node very well, and you don't even have to code most of the time, just tab, tab, tab.