Skip to content

lucaCambi77/bakery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task

Given a customer order you are required to determine the cost and pack breakdown for each product. To save on shipping space each order should contain the minimal number of packs. See pdf in /pdf/Hexad-Backend_Assignment_Bakery.pdf

Install and run the application

To use the application you need java 8 installed in your machine. This is a spring boot application with embedded tomcat

There is a default profiles with which you can run the application

To install

  • mvn clean install

To run

  • java -jar target/*.jar

After the application is running, order api is exposed :

To request an order to the application with following json as sample (application/json is required as content type in header request) :

{"itemToCountMap":{"CF":13,"MB11":14,"VS5":10}}

If the order is completed, you will receive a report with all the information about prices and packaging

About

assignment for hexad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages