This app contains two files:
-
main.js - Main Node.js code snippet with two simple methods. The first method shows a message and the second method adds two numbers. The application listens at port 80.
-
package.json - JSON code snippet that defines Node.js module dependencies. It also defines the application's name and sets main.js as the application's start file.