ENTD 261 Military Public University Node.js Worksheet

Description

1 attachmentsSlide 1 of 1attachment_1attachment_1

Unformatted Attachment Preview

Course name : ENTD261
Week 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”);
})
//

Purchase answer to see full
attachment

Explanation & Answer:
500 words

User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.

Reviews, comments, and love from our customers and community:

Article Writing

Keep doing what you do, I am really impressed by the work done.

Alexender

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast.

M.H.H. Tony

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time.

Francisca N.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more.

Mary J.

Student

Essay (Any Type)

On time, perfect paper

Prof. Kate (Ph.D)

Student

Case Study

Awesome! Great papers, and early!

Kaylin Green

Student

Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. Transparent

Arnold W.

Customer

Coursework

Perfect!

Joshua W.

Student

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>