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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started