Node based server for Sellerspot Localconnect to coordinate offline communication between POS and local database
The node application uses pkg to package the node application into a standalone executable file.
- In
package.json:- The
binkey indicates the entry point javascript file of the server. In this case, it isdist/app.jsafter typescript build usingyarn run build. - The
pkgkey is used to addassetsandscriptsstored in thedist/folder. Assets and special scripts used by the node application should be mentioned here, or they will not be packaged, causing runtime error
- The
- To package the application:
npx pkg package.json
The tray icon and it's configuration can be customized at src/middlewares/systray.ts.
- Creating and setting up server.
- Stable packaging of server into a standalone application.
- Tray icon feature to interact with the server.