I have created a mobile app, web app and website with Wappler and have learnt a great deal so I thought I would try a desktop app with electron.
But I am confused about the SQLite option.
I created the basic project by selecting desktop app, including node.js and also a SQLite database but how do I access the database?
For background, the app will connect and pull data from an ecommerce site using the woocommerce API.
I am familiar with the woocommerce API (I previously tried creating a mobile app front end but got stuck with the cart etc.) and I do not want to store the woocommerce data offline but I thought I could use the SQLite database to store app settings and a few other bits of information.
Previously I have used a server project for the database and API calls, then separate projects for the web or mobile front ends but I thought, given the options available when setting up the desktop project I should have everything for the desktop app in one project. If not, how would I combine/distribute the two projects?
I think I understand that node.js is needed to present the *.html pages and Wappler goodies on the pages but I thought it would also allow access to the local SQLite database (since there was an option to create the local database). Am I missing something? Is this integration on the roadmap? Should I be using a node or Cordova plugin?
So, looking into this a bit more, the Wappler way for desktop apps is to create a server app for the data and API and then a desktop app for the front end, unless I use Docker where I can have both together.
Am I right in assuming I can’t combine them into one “app” that includes both but without Docker?
Essentially I want one desktop app that has a front end that can communicate with my SQLite database stored locally. No remote server.
Hi!
I’m a total novice and are wondering the same thing. Would be great if some of the amazing gurus in this forum could help out with this question .
Still not sure if this is possible... Would love to do the same with some of our mobile applications. Maybe @George or @Teodor could clear this up for you, and hopefully let us in on if it is a feature that will be available in the near future, if not already available..?
Lucky enough to have a quite a few in the community! Sadly I'm not one of them hahaha.