Hello CSE686 - Internet Programming. So nice to see you today!
This is a simple node.js web app project, created in Visual Studio. It:
- Requires (imports) http, fs, and path.
- Defines a "SimpleDemo" function that writes three lines of text.
- Defines a "fileReader" function that reads this file and writes it.
-
function "fileReader" also parses the input requests and writes the
result to the console.
-
Creates a server that accepts either of these functions as callbacks that
run when a request arrives