Giter VIP home page Giter VIP logo

arceprogramando / arquitectura-del-servidor Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 4.08 MB

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.

Home Page: https://arquitectura-del-servidor-production.up.railway.app

JavaScript 76.49% CSS 0.04% Handlebars 23.47%
expressjs handlebars javascript mongodb mongoose nodejs

arquitectura-del-servidor's People

Contributors

arceprogramando avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

arquitectura-del-servidor's Issues

Add Cloudinary with multer and refactor

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:

  1. Cloudinary Integration: Incorporate Cloudinary API for seamless handling and storage of images.
  2. Multer Refactoring: Enhance the image upload process in the shopping cart by refactoring Multer configurations to work seamlessly with Cloudinary.
  3. 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.
  • Optimization: Cloudinary offers built-in image optimization and transformation capabilities, improving overall performance.
  • Flexibility: Cloudinary allows for easy management and retrieval of images, supporting dynamic changes and updates.

Benefits:

  • Improved Performance: Cloudinary's CDN ensures faster delivery of images, enhancing the overall performance of the application.
  • Flexibility in Image Handling: Dynamic transformations and optimizations allow for flexibility in how images are displayed and managed.
  • Enhanced User Experience: Users can experience faster load times and an overall smoother image handling process.

Implementation Steps:

  1. Configure Cloudinary API credentials.
  2. Integrate Cloudinary into the project for image storage.
  3. Refactor Multer configurations to work seamlessly with Cloudinary.
  4. Update the image upload process in the shopping cart to utilize Cloudinary services.

Tip

This enhancement will contribute to the overall improvement and future readiness of the project's image handling capabilities.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.