import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.*; @RestController public class CheckoutController { @GetMapping("/checkout") public Map checkout( @RequestParam String products, @RequestParam(required = false) String coupon) { // Parse products Map productQuantities = new HashMap<>(); for (String productEntry : products.split(",")) { String[] parts = productEntry.split(":"); productQuantities.put( parts[0], // Product ID Integer.parseInt(parts[1]) // Quantity ); } // Build result Map result = new HashMap<>(); result.put("products", productQuantities); result.put("coupon", coupon != null ? coupon : "No coupon applied"); return result; } }
top of page

Call Me Crazy Cranberry Relish

Writer: Aja Lee Faassè
Aja Lee Faassè
Nov 26, 2024
1 min read

Call me crazy but why on earth have we been cooking cranberries all this time?

These delicious and cleansing little friends are much more scrumptous indeed when pulverized raw with just a little bit of orange, with the peel for extra oils and vitamin C, a little ginger root of you like, a touch of agave or if you like the flavor of honey with it that works too.

The point is, its so much more tart and fresh and gives the stomach a nice dose of good digestive and de-bloating qualities.


Cranberry Relish Recipe

I bag of Raw Fresh Organic Cranberries

quarter to half an orange with peel on

splash of agave to taste or use honey


Small slice of ginger root for ginger version


Some fun Cranberry Facts (click here for more of them!)

One cup or 220 grams of chopped cranberries contains:




 
 
 

Comments


The Practical Bohemian Blog, Free song download, & Aja Created Newsletters 

bottom of page