...
Once you created above js code as "sample.js", you can run it like below command:simply run "node sample.js"
Code Block |
---|
node sample.jsx:\prj\js>node main.js Server running at http://127.0.0.1:3000/ |
You can check it on your browser at http://127.0.0.1:3000 and its result will be like below:
...