Write a Node program for the following scenario:
1. Developer should provide 2 JSON Files
â–...
Computers and Technology, 25.06.2021 01:00, melany682296
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.
Answers: 3
Computers and Technology, 22.06.2019 10:00, banna01man
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
Computers and Technology, 23.06.2019 07:00, Dvrsug8598
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
Mathematics, 18.12.2020 08:50
Mathematics, 18.12.2020 08:50
History, 18.12.2020 08:50
Mathematics, 18.12.2020 08:50
Biology, 18.12.2020 08:50
Social Studies, 18.12.2020 08:50
History, 18.12.2020 08:50
Mathematics, 18.12.2020 08:50