This directory contains code that is shared between the frontend and backend.
types.ts - TypeScript interfaces and utility functions used by both frontend and backendProduct - Product data structureCategory - Category data structureCartItem - Shopping cart item structureformatPrice - Format a number as a currency stringcalculateCartTotal - Calculate the total price of items in the cart