A backend that allows inventory tracking for a logistics company
(must be on a windows computer)
- Clone the repository
- Open a command line inside the newly cloned repository
- run the command
java -jar InventoryTracking-0.0.1-SNAPSHOT.jar
Allows the addition of a new product to the inventory.
| Field | Type | Description |
|---|---|---|
| file | file | A picture of the product (png, jpg or jpeg only) |
| name | String | The name of the product |
| price | double | The price of the product ($) |
| description | String | A description of the product |
No paramters. Returns a list of all the product currently in the inventory.
Allows the deletion of a product given it's id.
| Field | Type | Description |
|---|---|---|
| id | int | id of the product to be deleted |
Allows users to edit a product.
| Field | Type | Description |
|---|---|---|
| id | int | The id of the product to be edited |
| name | String | The new name of the product |
| price | double | The new price of the product ($) |
| description | String | The new description of the product |