Answer the question
In order to leave comments, you need to log in
Application development for Electron. The right approach?
I am new to web development, before that I only dealt with Android applications. I have developed a simple Node.js application with a console user interface that has a REST API and a Websocket API. Now I need to develop a graphical interface for such an application, the choice fell on ElectronJs, the problem is that I don’t understand anything at all in the frontend, and there is no time at all.
In general, is the approach correct at all - the Electron application calls the locally running "backend" and draws the data received from the backend in the window? In general, what is the correct way and in which case it is worth contacting Electron?
Answer the question
In order to leave comments, you need to log in
If the goal is only to display data, then add a local web server to the application. Access it from any browser, and you won't have to carry hundreds of megabytes. That's how they do it quite often.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question