This project is a simple example of coding. It is a simple shipping items project.
The API has 4 endpoints:
GET
{base_url}/pack_items/{items}
Calculates the best way to pack the itemsGET
{base_url}/available_packs
Returns the available packsDELETE
{base_url}/pack/{items}
Deletes the packPOST
{base_url}/pack/{items}
Creates a new pack
- After restart application state resets to default (
250
,500
,1000
,2000
,5000
package sizes). - There is some very basic test coverage.
- There is validation for the input data.
- There is a simple logging.
- There is a simple error handling.