subject

Write a Node program for the following scenario: 1. Developer should provide 2 JSON Files
â–º The First JSON File should contain Employee Name along with Employee Details and Project ID â–º Second JSON File should contain information about the Projects (containing Project ID and Related Details)
2. Create 2 APIs, providing the following details:
â–º First API would take the Employee Id as Input and Queries the underlying JSON File to fetch Employee Data at: (localhost:3000/employee/:id)
â–º Second API would take the Project ID as input and Query the JSON File to fetch Project Information at: (localhost:3000/project/:id)
3. Using the above specified APIs, create a new API at: (localhost:3000/getemployeedetails)
This API would get the Employee Data along with the details about the project. (Make Use of fetch and promise to resolve API).
When a query is made to the Employee API, it will fetch Employee Details, along with the Project ID. This Project ID can then be used in order to query the Project API to fetch the data. The resultant data of the API at:(localhost:3000/getemployeedetai ls) should contain details about the employee as well as details about his Project and should be returned in form of JSON data to the Client.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What’s the process of observing someone actually working in a career that interests you?
Answers: 1
question
Computers and Technology, 22.06.2019 03:00
Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". any value that is the same as the immediately preceding value is considered a consecutive duplicate. in this example, there are three such consecutive duplicates: the 2nd and 3rd 5s and the second 6. note that the last 3 is not a consecutive duplicate because it was preceded by a 7. write some code that uses a loop to read such a sequence of non-negative integers , terminated by a negative number. when the code finishes executing, the number of consecutive duplicates encountered is printed. in this case, 3 would be printed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system.in); is given.
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
You know the right answer?
Write a Node program for the following scenario: 1. Developer should provide 2 JSON Files
â–...
Questions
question
English, 27.01.2021 21:40
question
Mathematics, 27.01.2021 21:40
question
Mathematics, 27.01.2021 21:40
question
Mathematics, 27.01.2021 21:40
question
Computers and Technology, 27.01.2021 21:40
question
Mathematics, 27.01.2021 21:40
Questions on the website: 13722363