export default function handler(req, res) {
    const products = [
      { id: 1, name: "Barrel A", description: "High-quality steel barrel.", price: 120 },
      { id: 2, name: "Scope X", description: "Precision optical scope.", price: 300 },
      { id: 3, name: "Stock Z", description: "Ergonomic polymer stock.", price: 80 },
    ];
  
    res.status(200).json(products);
  }