Replies: 1 comment 7 replies
-
I think 2 and 4 are the same. A BFF is, in my understanding, not a 'real' back end, but just a reverse proxy. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to implement the BFF like so that it is not tightly coupled with the UI. So in a sense those could be running separately without BFF serving the UI from the same domain/port.
There is quite a little of information about how to achieve this, but I have found out that it is technically possible to do with some sort of reverse proxy configuring. So if I have understood correctly, the proxy is basically making it so that it seems like that the UI and BFF are on same domain, but really isn't.
My question is that how could this be done and is it something that is even worth doing? I just want to keep my UI (for example React) project away from the BFF (.NET). So what would be my optimal use case for example locally would be that I can
Here is some documentation regarding this
I would be delighted if someone could advice me how to achieve this. And of course, the separate domain/port requirement is not absolute, but I just want that the UI and the BFF are separately running or that the UI is not run with the dotnet run.
Beta Was this translation helpful? Give feedback.
All reactions