r/JavaFX • u/Ok_Jackfruit_6541 • Jun 15 '23
Help Need suggestions for POS system
Hello, everyone!
I hope you're all doing well. I have developed a REST API backend service for my own restaurant and now I want to create a desktop application for this system. I would like the following features to be a part of my desktop application:
- Role-based authorization and page views.
- JWT token-based authentication and authorization.
- Routing for different page views.
I understand that these requirements resemble those of Angular or React applications, and that's accurate. What I'm looking for is a desktop application that functions similarly to a frontend JavaScript application.
My question is: Does JavaFX provide any support for routing and auth guard for page navigation? If it does, could you please guide me on where to start learning about it?
Thank you.
View all comments
Show parent comment
1
u/mitvitaminen Jun 27 '23
I see yiur point. what do u mean as buisness logic i mean the state of the view which kinda all there is is it not? If course the cart model would consist of a method to get price if all items that i would not put in the viewmodel either i think this is kinda a translation mix up i made. So sorry fir that but thanks fir clearifing since my previous comment seems kinda wrong in that case