Our First NodeJS / ExpressJS app
This the code for our first NodeJS and ExpressJS app … You can put this code in either app.js or index.js. But of course your package.json file should reference the correct filename...
read moreCreating modules in NodeJS
Here we write our own module that exports (which means expose) a function called “tip15” which will take a number like a dinner bill and apply a 15% tip to return the total amount to be...
read moreTutorial on using the debugger in Node.js
Let’s take the node.js application that we wrote in this tutorial and introduce a bug (typo) in the app.js file …. When you run “node app.js” you get this error on the browser...
read moreSimple Web Server in NodeJs
In the previous tutorial, we learned to write a basic nodejs app that only printed some text to the screen — call it an “Hello World” app if you like — just to test that...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.