You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize in advance if this is not the right place to post this kind of inquiry, i couldn't find a forum / slack / discord out there . :/
I was reading the documentation and the architecture said
there are two types of implementation, storefront & gateway
I assumed i could use puzzleJS by either Storefront, Gateway or both.
I continued to read about the Storefront and the very first line said:
Storefront is the main application that handles requests coming from user's browser
This line made me doubt, so my question is: Does the gateway can live without the Storefront?. or i need the storefront in order to make puzzleJs to work properly.
Cheers
The text was updated successfully, but these errors were encountered:
The answer is; yes but how:
Storefront is passing request to gateways through one path.
Gateways are exposing http endpoint on selected port with little bit complex uri.
Here's quick example with scenario:
Storefront allocating on 4445 port which is depend the other gateways up and running. (http://localhost:4445)
Platform gateway allocating on 4444 port which is depend nobody. ( http://localhost:4444/ )
Browsing gateway allocating on 4443 port which is also depend nobody. ( http://localhost:4443/ )
You can see if you visit http://localhost:4444/footer(Platform gateway - Footer fragment) your response is there and ready to use.
TLDR;
Gateways can be used by external callers (without storefront).
Storefront can be used without external gateways in static serving cases for example.
Storefront and gateways designed for working together, we are using both in that way in production.
Hello
I apologize in advance if this is not the right place to post this kind of inquiry, i couldn't find a forum / slack / discord out there . :/
I was reading the documentation and the architecture said
I assumed i could use puzzleJS by either Storefront, Gateway or both.
I continued to read about the Storefront and the very first line said:
This line made me doubt, so my question is: Does the gateway can live without the Storefront?. or i need the storefront in order to make puzzleJs to work properly.
Cheers
The text was updated successfully, but these errors were encountered: