This is a warehouse software implementation which holds products and articles. Each article contains an identification number, a name and available stock; whereas products are made of different articles. Products have a name, price and a list of articles of which they are made from with a quantity.
Current warehouse implementation supports the following functionality:
- List all products and quantities of each that is an available with the current inventory.
- Sell a product and update the inventory and products accordingly.
The warehouse uses MongoDB and includes 2 documents as products and inventory.
See the resources for more information.
- (GET)
/warehouse/available-products
: returns the available products - (PUT)
/warehouse/sell-product
: sells a product and updates the inventory and products if needed
Licensed under The MIT License.
Copyright © 2022, Aylin Gumus