To start the application? Run npm start
Then go to the base url here:===> http://localhost:3000
Path:
/index - base path
/ - To create a new product
/ - To get all the products from the db
/{productId} - To get a product by Id from the db
Requestbody
{
"name": " ",
"type": " ",
"cost": "",
"description": ""
}