router.get("/alw", function(req, res){
Product.find({"category": "alw"}, function(err, allProduct){
if (err){
console.log(err)
} else {
res.render("products/alw", {products: allProduct})
}
});
});
I want to display about 12-15 random products from the database without one occuring twice. Please how do i go about it cus its confusing
