Este repositorio contiene la implementación de una arquitectura de servidor MVC (Modelo-Vista-Controlador) utilizando Node.js, Express.js, MongoDB (con Mongoose) y Handlebars para el frontend. El servidor implementa un enfoque MVC para organizar la lógica de negocio, las vistas y el manejo de las rutas.
Proposed Enhancement: Add Cloudinary Integration and Multer Refactoring for Image Uploads
Note
Note: The current local storage solution is static and may not be suitable for handling images uploaded from external sources. The proposed enhancement aims to provide a more versatile and scalable solution for future project requirements.
Description:
Currently, the project uses a local storage solution for images, which is not dynamically scalable for future enhancements. To address this limitation and ensure better performance and flexibility, we propose integrating Cloudinary, a cloud-based media management platform, into the project. Cloudinary will replace the current local storage, providing a more robust and scalable solution for image uploads.
Key Objectives:
Cloudinary Integration: Incorporate Cloudinary API for seamless handling and storage of images.
Multer Refactoring: Enhance the image upload process in the shopping cart by refactoring Multer configurations to work seamlessly with Cloudinary.
Dynamic Scalability: Ensure that the new solution is dynamically scalable and can handle future growth in image uploads without compromising performance.
Why Cloudinary?
Scalability: Cloudinary provides a scalable cloud-based solution that can handle a growing number of images efficiently.