3 ms·
i work for big corporation running a large global ecommerce application we use Apollo Client to communicate with our bff layer, which is Express and Apollo Ser
by dylanhassinger 4y ago
i work for big corporation running a large global ecommerce application
we use Apollo Client to communicate with our bff layer, which is Express and Apollo Server. The graphql resolvers in turn grab data from underlying Java REST apis, which are not exposed to the outside internet.
Overall it's worked great for us. Graphql takes a lot of getting used to, but it frees our teams up to move fast on their own, especially vendor contractors. Negative is, our schema has gotten gargantuan and needs to be heavily refactored.
One really cool thing Apollo Server unlocks is caching, and also a great metrics dashboard
Also did bff in the past for a health care company using Go. Challenge there was natural latency hitting slow backend apis and transforming the data
- faizshah 4y agoDid you have problems caching between BFF and backend apis? We are trying to be able to have our FEEs write apis quickly while still having low operational load. Also curious how you convinced leadership about your BFF idea? How did you convince them that its better than modifying the existing backend apis.