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

Vanilla Cashew Cream

Writer: Aja Lee Faassè
Aja Lee Faassè
Nov 30, 2022
1 min read

Cashew Cream! This nut based whip cream is gluten-free dairy free and refined sugar-free, and it's better than cool whip, trust me. Add to pie, hot chocolate, or spoon.



RECIPE

In the vitamix- (food processor or off brand blender, it will work but won't be as creamy as amazing.


1 cup cashews

1/4-1/2 cup any non dairy milk

splash of vanilla extract

3 dates


Whip until super creamy, add more nuts if it seems to watery and more milk if it seems to thick.


* if you like things super sweet add some agave or date syrup




 
 
 

Comments


  Get the Secret Trailer for Aja's New Song Caravan to Nowhere By signing up before Nov 3 for Newsletters!

bottom of page