Question: i have to use vscode and mongodb to complete Module 5 - REST APIs and GraphQL Order Management And Status App Create an application to

 i have to use vscode and mongodb to complete Module 5
i have to use vscode and mongodb to complete - REST APIs and GraphQL Order Management And Status App Create an

Module 5 - REST APIs and GraphQL Order Management And Status App Create an application to manage orders and update user with current status of order- Part 1 1. Create a form with fields such as Name, Address and Email 2. In same form create a section with few shopping item 3. Design schema using mongoose for the form 4. While inserting data to field add date of data insertion (pick system date) for each entry 5. Add a "Submit Button" to save data in mongoDB collection, here all user information will be saved File Edit Selection View Go Run Terminal Help users - ICSI 2021 Visual Studio Code EXPLORER users X servers > OPEN EDITORS rest-api > routes > users.js > v TCS AAN2021 2 const express require("express"); > async-demo 2 > file project 3 const router express Router(); > t module) 5 > my app // groute GET /api/users/test 6 // Desc Test the user routes > nodejs 7 // access Public restap 8 router.get("/test", (req, res) -> ( mo config 9 res.json({ asg: "hello fron users" ); db.config.js 10 }); 11 models // this will returen a son object with key nsg and value as hello from users. I 12 usermodeljs 13 La node modules 14 W routes module.exports - router; 16 4 CE dbjson packagejson package-lock.json server.js dibson @O PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL 1: node + hello from server (node: 8532) Deprecationlarning: current URL string perser is deprecated, and dll be removed in a future version. To u arser, pass option (usedUrlParser: true) to Mongoclient.connect. (node: 8532) Deprecationarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a ion. To use the new Server Discover and Monitoring engine, pass option { usunified Topolog: true } to the Mongoclient server is running on port sece mongodb connected 0 > OUTLINE > TIMELINI Module 5 - REST APIs and GraphQL Order Management And Status App Create an application to manage orders and update user with current status of order- Part 1 1. Create a form with fields such as Name, Address and Email 2. In same form create a section with few shopping item 3. Design schema using mongoose for the form 4. While inserting data to field add date of data insertion (pick system date) for each entry 5. Add a "Submit Button" to save data in mongoDB collection, here all user information will be saved File Edit Selection View Go Run Terminal Help users - ICSI 2021 Visual Studio Code EXPLORER users X servers > OPEN EDITORS rest-api > routes > users.js > v TCS AAN2021 2 const express require("express"); > async-demo 2 > file project 3 const router express Router(); > t module) 5 > my app // groute GET /api/users/test 6 // Desc Test the user routes > nodejs 7 // access Public restap 8 router.get("/test", (req, res) -> ( mo config 9 res.json({ asg: "hello fron users" ); db.config.js 10 }); 11 models // this will returen a son object with key nsg and value as hello from users. I 12 usermodeljs 13 La node modules 14 W routes module.exports - router; 16 4 CE dbjson packagejson package-lock.json server.js dibson @O PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL 1: node + hello from server (node: 8532) Deprecationlarning: current URL string perser is deprecated, and dll be removed in a future version. To u arser, pass option (usedUrlParser: true) to Mongoclient.connect. (node: 8532) Deprecationarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a ion. To use the new Server Discover and Monitoring engine, pass option { usunified Topolog: true } to the Mongoclient server is running on port sece mongodb connected 0 > OUTLINE > TIMELINI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!