View order details

With Order collection and the database access all set up, moving forward it is easy to add the features of listing orders for each user, and showing details of a single order in a separate view where the user can track the status of each ordered product:

Following the steps repeated throughout this book, for setting up backend APIs to retrieve data and using it in the frontend to construct frontend views, you can develop order-related views as desired, taking inspiration from the snapshots of these sample views in the MERN Marketplace application code:

The MERN Marketplace application developed in this and Chapter 6

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.