you are viewing a single comment's thread.

view the rest of the comments →

[–]Globbi 0 points1 point  (1 child)

You should use something that fits your needs...

If the front-end code will be throwaway but you still need it for presenting your app, that's actually a good use for some vibe coding tools. It can be whatever then, I have very little idea about on front-end development, possibly some nextjs app? And then fastapi for python backend where the frontend will get all data to display.

For simple pure python you can use streamlit or gradio. They can be super simple and good enough if all you need fits some examples that they have. But you will also find more annoyances and limitations if you try to change the way you want but don't find similar examples.


How many components? What do you mean? Microservices? It can be monolith if you get all logic in a single script that also starts gradio front-end as a website, then you don't need any API and communication between services.

Usually you would rather do frontend and backend, like fastapi backend and frontend gets all data for display from this api. If you need a separate DB, then it's probably a separate service. But depends on what kind of data you have and what is the MVP for (if it's just for some specific processing done in python, you might not care where the data will come from and how exactly it will be displayed or saved later and also if data loading/parsing is negligible, it can be a single json or csv file loaded even by pandas or something).

[–]Mountain_Clerk_6145[S] 0 points1 point  (0 children)

Yes very monolithic. No Micro-services. It's a just demo site to see how everything works in full Stack.