Avaray / yet-another-neutralinojs-starter

Starter/Template for building a desktop applications with Neutralinojs, Vite, React, Typescript, Wouter, daisyUI, TailwindCSS, UnoCSS and Iconify.
MIT License
9 stars 1 forks source link

Adding an express server as backend #1

Open flavienrako opened 3 weeks ago

flavienrako commented 3 weeks ago

Thank you for your repo, a great job, is there a way to support an express server?

Avaray commented 3 weeks ago

Thank you for your repo, a great job, is there a way to support an express server?

Yes, but you need to have JS runtime like Node/Bun/Deno to run express. If devices will have one of them installed then you just spawn a process. Otherwise you can bundle a runtime, and then spawn a process.