What is the simplest solution for persisting user data?

I frequently run into a situation where I’ve built a neat little frontend app but need to persist some user data. My first instinct is to stick it in local storage, which is cool and totally works. But it’s at risk of being deleted by the browser and it’s not portable to other browsers or devices.

Things I’ve used:

- PHP/MySQL
- PHP/SQLite
- NodeJS/SQLite
- JSON files
- Userbase (third-party service)
- I’ve even used paste.lol as a BE

social.lol/@bw/113181742422111501