Advices for an electron app
Hello guys, I have some conceptions issues with electron,
Sometimes, my app will be on non connected computer, sometimes, will be connected.
My issue is: for non connected, I have to store the data somewhere, I decided on litesql
But, for the connnected computer, I have 2 choices:
include all sql calls to the app, then setup a sql server somewhere for my customers
OR
develop an API that will handle all of that.
Considering, that for now, it's like 1 customer per computer per enterprise, sometimes 2 so it have to be synchronised
For now, I think that a client connection could work, but if I want to scale up, i'll need to develop and API.
4 Replies
"include all sql calls to the app" what do you mean by that?
like, do some calls with the client directly connected to a dedicated sql server
please ping me 🙏
if you want the client to talk to the SQL server, then you'd need an API to handle that @wailroth
yeah that's what I said, but for that i can: make an api OR make the client directly discuss with the database, which in fact not that bad because it's its own database