I've a sort of task manager app which the backend is written in PHP and the front-end in vuejs+HTML+CSS, so my understanding is that it is fairly easy to bundle the front-end part into a hybrid app by something like Electron, but I also want to get rid of the server-side interactions and allow all the database storage to take part on user's computer.
I can imagine a tech-savvy user be able to easily setup Laravel+MySQL & run the server on his or her desktop, but of course, my ultimate vision is to have the whole setup process and data handling be invisible to the user.
I've seen task managers that store tasks into files and then read and write from via Electron and JS, but I think, I rather stick with using a Database and beside the Database, Models and Controllers, I think I can skip all extra futures that having that app run on a server would provide.
Any suggestion how to best make this happen? Preferably without adding an extra language to JS+PHP. Or if this isn't possible, what is the other alternatives to keep the VueJS+HTML+CSS front-end as it is but translate the PHP code to some other language that can be compiled for cross platform, or at least Linux + MacOS?