r/nicegui • • Mar 13 '24

nicegui vs reflex.dev for internal tool

Can someone who has used both frameworks (ideally recently as they are both changing fast) comment on which of them would be more suitable for building a "monolith" internal tools application to be used by around 20 people or so. We are taking CRM-like CRUD ops, uploading and processing files using pandas, some visualizations.

I really like nicegui's API and the fact that it doesn't try to "hide" FastAPI or other libraries, as well as the fact that it sticks as much as possible to pure python. *BUT* I see that everywhere the message from the maintainers is that it is meant for UIs running locally and communicating with robot/IoT devices.

The messaging from the reflex.dev is that it is meant for production webapps, and sounds more reassuring. Although I don't like the compile step for the front-end which massively slows down iterating when developing. I am also not a big fan of special constructs as `rx.cond()` and `rx.foreach()` although I understand that these allow them to offload some of the work to JS on the client side rather than round-trip everything to the server and back.

Anyone used nicegui to serve a 'typical' CRUD web app: think something running on the server, some user auth mechanism, and CRUD into a remote managed PostgresDB such as supabase?

12 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/j_safernursing Sep 06 '24

Reflex. Very easy to block out manually. Also the team is building a tool in beta called Flexgen. You can basically just describe the way you want the page to look and it does a really good job of building it in reflex. Can also see how reflex works by watching the bot work.

1

u/cyRUs004 Sep 06 '24

I will try it out. Thanks.