Coder Social home page Coder Social logo

marioramoses / micro-fes-beginner-to-expert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jherr/micro-fes-beginner-to-expert

0.0 0.0 0.0 790 KB

Code for "Micro Frontends From Beginner to Expert"

JavaScript 94.52% HTML 2.91% SCSS 1.51% PowerShell 1.06%

micro-fes-beginner-to-expert's Introduction

Full Site Federation eCommerce Example

An example eCommerce app Module Federation in a Full Site Federation configuration, using react-router-dom to manage the routing.

Installation

In these five directories; addtocart, cart, home, pdp and server run these commands:

yarn && yarn start

In a different terminal window for each app.

The visit the home page.

Explicacion

Existen 4 microfrontends:

  • Home
    • MainLayout: con un header, footer y el contenido según la ruta
    • HomeContent: la pagina principal, donde se muestran los productos
  • PDP
    • PDPContent: la pagina de detalle de producto, donde se muestra el producto seleccionado
  • Cart
    • CartContent: Es la pagina del carrito de compras, donde se muestran los productos seleccionados.
    • MiniCart: que se muestra en la parte superior derecha de la pagina
    • Cart.js: contiene las funciones para agregar, obtener y eliminar productos del carrito. El carrito se almacena en el backend.
  • AddToCart
    • AddToCart: Es el boton de login, que se muestra en la parte superior derecha de la pagina.

micro-fes-beginner-to-expert's People

Contributors

jherr avatar marioramoses avatar

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.