PHP Classes

File: frontend/js/componentes/controllers/minhaAreaController.js

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Livraria   frontend/js/componentes/controllers/minhaAreaController.js   Download  
File: frontend/js/componentes/controllers/minhaAreaController.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Livraria
Manage a bookstore using micro-services
Author: By
Last change:
Date: 3 months ago
Size: 357 bytes
 

Contents

Class file image Download
import { fetchPurchasedProducts } from '../models/productModel.js'; import { renderMinhaArea } from '../views/minhaAreaView.js'; export function initMinhaArea() { fetchPurchasedProducts() .then(products => { renderMinhaArea(products); }) .catch(error => console.error('Error loading purchased products:', error)); }