Create new folder in your directory and rename it as public and copy index.htm into it. The Folder Sturcture will look like this,
STEP 6 - Code Execution
Install required packages like --> npm install express
Execute code using the following command,
-->node MainApp.js
Our application is now runing on 1234 port using localhost.
Now, open the latest browser (I am using Chrome) and enter the following URL.
https://localhost:1234
Click on ADVANCED,
Now Click on Proceed to localhost(unsafe).
Success!
One more step to go, geeks...
Append/search in your URL. Now, your URL will be
https://localhost:1234/sach
We have done it ... enjoy!
If you have any doubts regarding the same, just mention it in the comments .