ENTD 261 Military Public University Node.js Worksheet

Course name : ENTD261Week 4: Node.js
Instructions
Create a simple Node.js server (Save as w4_fougnigue_soro.js) . Create a
restful application similar to the one in lesson 4 (ReSTFul Web Services).
Document the routing table, and the application you created.
Submit your week 4 work in w4_fougnigue_soro.txt (Please save the file
as a text file and upload the text file here for final review.)
Note: node MUST be installed in the entd261 folder. Your code must be
saved to the entd261 folder. node cannot be installed in any other folder.
Be sure you have done this, or the code will not run in the command line.
Please refer to the attached sample solution file,
w4_first_lastName.txt, for help. In place of first and lastName in
the file name make sure your first and last names are present.
Requirements
Points
Comment block. Instructions on how 20
to run the code with examples
Code documentation and comments. 10
Assignment code including creating
command line /URL parameter
70
(see routing table on how to
document the URLs)
TOTAL POINTS
100
Reminder: This is what your ENTD261 folder should look like with node
installed.
Attachments
w4_first_lastName.txt
(2.15 KB)
/*******************************************************************
***
***ENTD261
***
***Week 4
*** How to run: node w4_first_lastName.js
*** This Node.js app will display the inventory of a car shop.
***once the server is running, you will get
***Express server listening on port 44444
***from any browser enter http://localhost:44444/
*******************************************************************/
//setup
var express = require (“express”);
var http = require (“http”);
var app = express();
// run the server
app.listen(44444, function(){
console.log(“server is running on port 44444”);
})
//

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER