The MERN Marketplace application developed in Chapter 6, will be extended to include a shopping cart feature, Stripe integration for processing credit card payments, and a basic order-management flow. The implementations that follow are kept simple to serve as starting points for developing more complex versions of these features.
The following component-tree diagram shows all the custom components that make up the MERN Marketplace frontend. The features discussed in this chapter modify some of the existing components, such as Profile, MyShops, Products, and Suggestions, and also add new components, such as AddToCart, MyOrders, Cart, and ShopOrders:
The code for the complete MERN Marketplace application is available on GitHub github.com/shamahoque/mern-marketplace...