This application is essentailly following this tutorial from the IOTA docs. In this app we are sending a zero value tranaction to publish a message onto the Tangle.
To run this application, install the dependencies and then use node to run the application. This has been tested using Node v12.14.1.
npm install
node app.js
The output should be a transaction hash something similar to this:
DPXSKIOAKMIQWDIHDXGDLAXVHCC9CGVPKUGMULHHAQULZCOSFSRTKM9KXEDSTXDMSHHADTAL9PDVSC999
If you used a real address in the app then you can view this transaction using the Tangle Explorer. Make a note of the hash value that was output from the app and use that to look up your transaction. Additionally, if you are using your own address you will be able to see this transaction in your local IOTA Wallet.
If you experience any bugs or need further improvement, please create a new issue under Issues.
This application is part of a research assignment and is most definitely not suitable for Production use! :)