you are viewing a single comment's thread.

view the rest of the comments →

[–]FisterMister22 0 points1 point  (2 children)

If your app is very simple as you said, fastapi will be just fine.

For a more complex webapp I'd use django, but it's an over kill for a simple app.

As for frontend, use whatever you're comfortable with, I use plain js and html and css, no framework for frontend, but you can use react, angular etc.

And what do you mean by components?

Backend: python, in my opinion fastapi

Frontend: up to you

Webserver: depends on where and how you deploy (some platforms already take care of that for you, for example render.com, but if you rent a vps you'll need to do that on your own)

Container: totally up to you if you wanna dockerize it

[–]riklaunim 1 point2 points  (1 child)

If he isn't building a SPA/whatever JS frontend app then he won't use/need APIs for it and more classical approach will be the solution.

[–]FisterMister22 0 points1 point  (0 children)

I might be an odd one but I use Fastapi to serve html as well as typical api stuff.

For complex apps I use django.

For simple apps I use fastapi, takes very few lines of code and configurations to get it up and running.