Open briantwene opened 1 year ago
It seems like the backend part is only possible through the Tauri core, or using rust to code the backend. Tauri has a command API that is similar to how HTTP Requests are done in a normal web app and backend server.
So, the idea would be to make requests to the tauri backend for the image data and then present them on the frontend, like before.
The kinds of requests:
These things can be each a module and from there can be split into other files, could do a controller service kind of thing
Will need to look at the basics of rust and the dive into implementing the things that are needed will 100% need to make calls to the API from then backend
And can make the frontend purely presentational
Overall Answer: It is possible to do in the frontend but not ideal with the setting and security concerns
Considering Tauri is being used and the frontend is with react, will a backend be still needed for such an app or would it be possible to ship everything together like with Snappub Next.Js
Some questions I have?
Would it be possible to do it all from the frontend?
Even if it is, could I look at rust to do some more of the heavy lifting parts of the app, such as fetching data from the API and processing?