Menu

[Solved]Javascript Assignment S Due Date Already Passed M Still Interested Knowing Go Getting Righ Q37146967

Javascript – This was for an assignment that’s due date hasalready passed, but I’m still interested in knowing how to go aboutgetting the right answer. I am very new to javascript andprogramming in general, so I’m just a bit lost on the steps to dothis, and my textbook and professor have been zero help

For this assignment, complete the following:

1. Create a folder called tissue_backend to store your projectfiles.

2. Inside that folder, run the npm-init command to create a newpackage.json

3. Add a subdirectory under tissue_backend named “app”

4. In your app folder, create a server.js file.

a. In server.js, create a simple server that listens on port3000

b. Just like the photo album application from chapter 4, thetissue application will maintain a collection of issues. An issuecontains the following information:

i. Id

ii. Title

iii. Status(New, Closed, Resolved)

iv. Assignee – The person the Issue is assigned to

v. Created – Date the issue was created.

  vi. Updated – Date the issue was last updated

vii. Details – Details of the issue

c. Modify your server.js to handle two requests. The firstrequest is to retrieve all issues. Create a fake array of about 5issues and return the list of issues as json. The second requestwill be a post used to create an issue. Modify your server.js totake a post request containing json for a new issue and add theissue to your array of issues.

Expert Answer


Answer to Javascript – This was for an assignment that’s due date has already passed, but I’m still interested in knowing how to g… . . .

OR


Leave a Reply

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