Our team is currently developing a hybrid application. It is similar to Sigma Estimates - a GUI with tables, forms, a sidebar with a tree structure, etc. The software allows a user to work with a database in the cloud - create table structures according to records in the database.
If the connection to Internet is available, then the software, either a web app or a desktop app, has easy access to the database by sending requests. But a user can also make a copy of that database (precisely, a copy of the current version of the database), so that when there's no Internet, he/she can still access records in it. That is why a desktop app is needed.
I think it goes without saying, that both the web app and desktop app should have the same view, same logic regarding its components - tables and so on.
Should we develop a web app and then try to make a desktop version out of it or the other way around? What technologies could be used?
Previously we have looked into JavaFX, but we saw that it's too difficult to create a website out of that. Then we saw Electron, but we are not sure if it is the right choice, because it seams that Electron is only used for desktop. We were intrigued by Slack's desktop app solution, but our software is slightly different and does not require constant connection to Internet.