Repository pattern server side / How to use plugin custom fetch server side ?
Hello
I have a project with a custom fetch plugin allowing me to pass specific Bearers, and a split of the "API calls" part via the repository pattern.
As part of the development of a new general public site, we are thinking of making a BFF (backend for frontend) between the front and the API which is in PHP (but that doesn't matter)
The objective is to not let anything appear in the browser at the level of Bearers, endpoints, etc...
However I cannot use my implementations of the plugins and therefore what I did for the repository pattern.
Any ideas, how can i do it ?
Here is an illustration of what I want to do on the server/api/... side.
I have a project with a custom fetch plugin allowing me to pass specific Bearers, and a split of the "API calls" part via the repository pattern.
As part of the development of a new general public site, we are thinking of making a BFF (backend for frontend) between the front and the API which is in PHP (but that doesn't matter)
The objective is to not let anything appear in the browser at the level of Bearers, endpoints, etc...
However I cannot use my implementations of the plugins and therefore what I did for the repository pattern.
Any ideas, how can i do it ?
Here is an illustration of what I want to do on the server/api/... side.
