Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

399
Vistas
How to package an Electron app together with a Node server

I have an electron app built using React.js and it relies on a local Node server running on parallel to the App. How can I distribute both products in a single exe so that the Node server made separetely to the Electron app runs at the same time when executing the program?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can just do it. There is a Node process that kicks off the whole app, which you can start your server on. Then the client code is run by whatever you start the BrowserWindow on. Then you can just make requests to localhost and your server should be able to pick them up.

That said, there are some good reasons why you should strongly consider NOT using an actual HTTP server, but using inter-process communication (IPC) instead.

  1. Security is an issue — you’re starting a server on a client machine, and if your authentication has any flaws, you’re opening up all your server endpoints to any other process on the client, or even other machines on the local network.

  2. Ease - IPC is well supported by Electron so it’s simply easier to develop against.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda