this PR automatically populates the HoF page. It does so by aggregating the OrderItems table, grouping by IceCreamID and summing quantities and then getting IceCream info foe each ID and returning the info for the 100 best selling flavors. This probably could all be done in one in mongoose statement but it was giving me some trouble so..... It also adds dependencies CORs dependencies as in this PR (https://github.com/larkinds/recurse-randomice/pull/70)
Solves #60
this PR automatically populates the HoF page. It does so by aggregating the OrderItems table, grouping by IceCreamID and summing quantities and then getting IceCream info foe each ID and returning the info for the 100 best selling flavors. This probably could all be done in one in mongoose statement but it was giving me some trouble so..... It also adds dependencies CORs dependencies as in this PR (https://github.com/larkinds/recurse-randomice/pull/70) Solves #60