Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor113931yI would replace nginx with caddy. Https out of the box. Nginx-like config. Add (sub)domain - reboot process and happiness is there.
Python backend can be ran without any (python)dependency using the Built-in httpserver.
Sqlite3 is Built-in into python.
What do depencies really matter since docker exists?
My favorite setup for an API would be python, dataset(sql(ite)ORM), aiohttp. You can write performantic stuff in a few lines. Can be that fastapi is maybe even better since it comes with swagger, but I don't have much experience in that -
K-ASS25841yHonestly, if your backend is solely for database queries I would recommend just use supabase or pocket host, you can just write custom rules/filters on incoming requests. Unless you need to access another api in backend other than modifying the database
-
Bubbles68261yPython is what I've used, but I've heard Go is nice for backend. I've been experimenting with the language I want to try to see what some web apps would be like with it.
-
j0n4s54351yWhat do you need the reverse proxy to do?
TLS termination? Otherwise you wouldn't need a reverse proxy (if you want to keep it simple). -
retoor113931y@j0n4s flask is nice alternative for aiohttp. I do not recommend aiohttp for the aio-part but for application structure. The structure is perfect. Flask's blueprint stuff is for men who like men. It's not straight forward
A serious question: what kind of stack should I choose so I can run a web backend installing no deps whatsoever? I know that Perl works on ubuntu out of the box. Anything else? Maybe Python?
Also, what can be used to replace a reverse proxy like nginx? And what kind of database is available out of the box?
random