Directly get data from db / temporal and don't use the api
=> Backend: Directly get data
=> Frontend: use api
=> Encapsulate logic from api to share it with ssr components
Background: Connecting to localhost is not so easy inside a docker container => Localhost/127.0.0.1 doesn't work and the domain is resolved to 127.0.0.1 => connection refused
Directly get data from db / temporal and don't use the api
=> Backend: Directly get data => Frontend: use api => Encapsulate logic from api to share it with ssr components
Background: Connecting to localhost is not so easy inside a docker container => Localhost/127.0.0.1 doesn't work and the domain is resolved to 127.0.0.1 => connection refused
@Flofie Do you know a different solution?