I am using reactjs for frontend and nodejs for backend. Now I want or have to convert this app or project in exe file. Is some way I can package this into a .exe? Please suggest me if this possible or not. If possible please help me for this.
-
3You may be looking for Electron.SLaks– SLaks2019-05-09 17:04:56 +00:00Commented May 9, 2019 at 17:04
-
@SLaks can you explain more because I am in new this.Unknow User– Unknow User2019-05-09 17:07:25 +00:00Commented May 9, 2019 at 17:07
-
HereBenjamin Urquhart– Benjamin Urquhart2019-05-09 17:29:39 +00:00Commented May 9, 2019 at 17:29
-
1Why would you do this?Jasper Huzen– Jasper Huzen2019-05-09 20:22:39 +00:00Commented May 9, 2019 at 20:22
Add a comment
|
1 Answer
Electron has already been mentioned by @SLaks.
Another way to package a JavaScript app as an executable is using NW.js. Docs here.
Simply, compress your .js sources (you'll need to write some NW boilerplate, see the docs) into a .zip, and concatenate that with nw.exe:
copy /b nw.exe+your.zip your.exe
Then you get your.exe, an executable version of your app.