This API allows users to manage inventory items, get product suggestions, recipes, and DIY ideas, share products, and view inventory overviews.
Registration: /register
Method: POST
Description: Register a new user.
Function: register
Login: /login
Method: POST
Description: Log in with user credentials.
Function: login
Auth Test: /auth_test
Method: GET
Description: Test authentication.
Function: auth_test
Configure DB: /configure_db
Method: POST
Description: Configure the database.
Function: configure_db
Add Product: /product
Method: POST
Description: Add a single product.
Function: add_product
Add Products in Batch: /products/batch
Method: POST
Description: Add multiple products at once.
Function: add_products_in_batch
Get Suggestions: /suggestions
Method: POST
Description: Receive product usage suggestions.
Function: get_suggestions
Get Recipes: /recipes
Method: POST
Description: Get the top 3 recipes related to a product.
Function: get_recipes
Get DIY Suggestions: /diy-suggestions
Method: POST
Description: Get DIY ideas for a product.
Function: get_diy_suggestions
Share Product: /product/share
Method: POST
Description: Share a product with others.
Function: share_product
Get Shared Products: /product/shared
Method: GET
Description: Retrieve shared products.
Function: get_shared_products
Inventory Overview: /inventory/overview
Method: GET
Description: View an overview of the inventory.
Function: inventory_overview