Question: JavaScript and Databased related question. Create a database for the User list/table and a NodeJS/ExpressJS app to access it: The User list is a list

JavaScript and Databased related question.

Create a database for the User list/table and a NodeJS/ExpressJS app to access it:

The User list is a list of users that has following properties:

. Id (primary key)

. Name

. Age

. Sex

. Title

. Start Date

The NodeJS/ExpressJS App should provide following API end points (routes):

. Get all records GET: /app/users/getall

. Get a record by ID GET: /app/users/getone/:id

. Insert a record POST: /app/users/insertone, and use body to store user information

. Delete a record DELETE: /app/users/deleteone/:id

Please use both mongoDB and MySQL.((mongoDB should use MLAB)

Please use POSTMAN to test and demonstrate.

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!