CREATE A REST API a. Create a database using NODE.JS AND MONGODB containing two tables Books and Authors. Add appropriate columns to the tables. Every book has a single author and referential integrity should be maintained
b. Create a Rest API which supports the following operations: i. Insert, update and select on Books i. Handle exception for adding Authors who are not present in the table.
cannot understand how can i delete author name if book name is updated or deleted