It consists of gathering information from a specific URL and giving an output using JSON format.
I have split the solution into two flows. The first one is responsible for acquiring data and returning a map containing the user and the amount for each snack consumed by the customer. The next step consists of utilizing the map to generate the metrics needed by the challenge, such as favorite snacks and the number of consumed snacks.
To conclude, the output is formatted to JSON format and printed out on the terminal.
$ make start