Earlier quoted context omitted.
Any tips on how to run a site on a 5 dollar vps? I built an MVP on a 5 dollar VPS. But I had to recently upgrade to a 12 dollar VPS as some of my analytics process were being stopped because of low memory. Aside from writing better code, I found out that using linux utils/app via system calls is the most effective solution as nothing I can write can ever be even remotely as performant as something like grep. I am fol…
Not OP, but I started up a project running Postgres, a Python backend (with FastAPI), and a NextJS frontend on the cheapest DigitalOcean droplet. Hosting+domain came to $7.68/mo I can't say it's had very much production load testing, but using the site myself it seems to work fine. https://wcedmisten.fyi/post/stateful-webapp-on-7-68-budget/ https://github.com/wcedmisten/python-nextjs-template
I use mainly flask and restful flask. However restful flask has been deprecated, so I was really interested in FastAPI. Then someone pointed out the number of open issues on the FastAPI project, so I got spooked. Flask maybe has quite a few frameworks for implementing rest API. Not sure what the future holds for Flask.
As you pointed out
> A backend comes with all sorts of baggage: databases, managing user data, authentication, backups, and increased server load.
With Flask being a microframework and barebones, going through this list becomes a chore unless you have built dozens of webapp and have some kind of template.
So I kinda gave up on web-backend entirely and moved towards firebase. Most of the complicated stuff will happen on the VPS side of things and will be communicated to firebase via the SDK.