Jank1310 / datadolphin

Open source csv/xlsx importer
MIT License
2 stars 0 forks source link

Don't use api/fetch in ssr components #77

Closed Jank1310 closed 7 months ago

Jank1310 commented 7 months ago

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?