* Yes, you should create an API (e.g. src/routes/api/things.js) that will run your query serverside. Then use this.fetch inside preload to call your API.*
* Yes, you should create an API (e.g. src/routes/api/things.js) that will run your query serverside. Then use this.fetch inside preload to call your API.*
So, we don’t need other server to handle API/DB stuff. Additional API server (backend) can be useful for more complex apps for separate scaling these parts and SOLID.
So, we don’t need other server to handle API/DB stuff. Additional API server (backend) can be useful for more complex apps for separate scaling these parts and SOLID.