Write a Node program for the following scenario:
1. Developer should provide 2 JSON Files
â–...
![subject](/tpl/images/cats/informatica.png)
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.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 22:30
In writing a paper for his english class, gavin quoted an author of the book. what should he include in his paper to credit the source? citation caption header entry
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:00
Most computers today support the standard, in which the computer automatically configures new devices as soon as they are installed and the pc is powered up.
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 09.11.2019 06:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 09.11.2019 06:31
![question](/tpl/images/cats/istoriya.png)
History, 09.11.2019 06:31
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/istoriya.png)
History, 09.11.2019 06:31
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 09.11.2019 06:31
![question](/tpl/images/cats/fizika.png)
Physics, 09.11.2019 06:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 09.11.2019 06:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 09.11.2019 06:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 09.11.2019 06:31