Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a node Web server with Express. The server should provide functionality o

ID: 3784561 • Letter: C

Question

Create a node Web server with Express. The server should provide functionality of: Provide RESSTful API for following requirements: (Assume user is defined as firstname and lastname, e.g., {id: 0001, firstname: Wei. lastname: Cai}) GET/users responses a JSON contains all users POST/users insert a user with a user JSON object PUT/users/:id update the user information with a user JSON object DELETE/users/id delete the user Provide RESTful API "GET realtime/data" to respone a JSON {"data":" xxx "}, where the xxx should be a random number. Create following web pages with view engines (choose one from jade, ejs, handlebar, and vash) Welcome Page: route: GET/functionality: show welcome message and provide links to following pages requirement: make it good looking Realtime Data Reading Page: route: GET/realtime/show functionality: get realtime data from "GET/realtime/data" every 5 seconds and desplay to the page requirement: use JQuery to perform AJAX call User Control Page: route: GET/users control functionality: provide interface foe user to use your RESTful API defined in step 1 requirement: use JQuery to perform AJAX call Create package.json to describe this project and dependencies.

Explanation / Answer

{ "name": "nodetest2b", "version": "0.0.0", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "~1.12.4", "cookie-parser": "~1.3.5", "debug": "~2.2.0", "express": "~4.12.4", "jade": "~1.9.2", "morgan": "~1.5.3", "serve-favicon": "~2.2.1", "mongodb": "^1.4.4", "monk": "^1.0.1" } }

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote