Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. You are tasked as a consultant to a construction firm to provide a set of Web API to help integrate into the firm mobile

image text in transcribed
2. You are tasked as a consultant to a construction firm to provide a set of Web API to help integrate into the firm mobile application. You are required to work with mongoDb as your backend storage. The collection name should be material and added to the database. The Web API would be used in managing the firm material records which consist of the following fields: a) Material code would be type string b) Material name would be type string c) Material unit price would be float type d) Material stock level would be type float The web API specification is as follows: a) A POST end point for creating a material record. b) A PUT end point for updating a material record c) A DELETE end point for deleting a material record. The API routes must be named accordingly as material/add, material/update, material/delete. This should be added to the question one on a separate router function and linked in the interface to a menu item by name "WebAPI". 2. You are tasked as a consultant to a construction firm to provide a set of Web API to help integrate into the firm mobile application. You are required to work with mongoDb as your backend storage. The collection name should be material and added to the database. The Web API would be used in managing the firm material records which consist of the following fields: a) Material code would be type string b) Material name would be type string c) Material unit price would be float type d) Material stock level would be type float The web API specification is as follows: a) A POST end point for creating a material record. b) A PUT end point for updating a material record c) A DELETE end point for deleting a material record. The API routes must be named accordingly as material/add, material/update, material/delete. This should be added to the question one on a separate router function and linked in the interface to a menu item by name "WebAPI

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Working Papers Volume 1 For Needles/Powers/Crossons Financial And Managerial Accounting 8th

Authors: Belverd E. Needles

8th Edition

0618777237, 978-0618777235

More Books

Students also viewed these Accounting questions

Question

On what basis are some researchers skeptical of this evidence?

Answered: 1 week ago