Skip to content

lcmalloy/A6i6as

 
 

Repository files navigation

eCommerce Front-End Project

NodeJS Express.js React Babel Webpack Styled Components ESLint

A front-end web application built to interact with modern e-commerce APIs.

This application consists of three main widgets: product overview and styles, related and saved products, and ratings & reviews.

Lighthouse Performance Metrics

Screen Shot 2022-04-14 at 6 41 32 PM

Product Overview

The product overview section consists of three main sections: gallery, product details, and product description.

1. Gallery

The Gallery section handles displaying a product/style combination to the user.

The main features of this section are:

  • The user can cycle through images with the carousel controls or thumbnail interaction:

    FEC-overview-cycle

  • The user can go into a widescreen view and zoom on the image:

    FEC-widescreen-zoom

2. Product Details

The Product Details section displays various information about the product to the user and includes the checkout interaction.

The main features of this section are:

  • The product details. This includes the average rating and the product's name and category

    Screen Shot 2022-04-16 at 1 58 26 PM

  • The style selection. Here a user can select between the available styles. This changes the gallery display and the price if a style is discounted.

    FEC-overview-styles

  • The checkout interaction. Here the user can select their desired size and quantity of the product. Once those fields are selected, the add to cart button will become interactive.

    FEC-cart-ux

3. Product Description

The product description section displays the product's description, features, and links to share the product on social media.

Screen Shot 2022-04-16 at 2 18 55 PM



Related Products & Your Outfit

The Related Products and Your Outfit section each involves a horizontal scrolling carousel with 2 main points of functionality: Viewing and navigating to products related to the Overview item and adding the Overview product to a persistent outfit collection.

1. Related Products

The Related Products section displays all similar products relating to the currently viewed Overview item.

Main features include:

  • The ability to scroll through the list of related products specific to the currently viewed Overview item. An action button is available on all cards which reveals a dynamic trait-comparison modal on click:

    related_product

2. Your Outfit

The Outfit section allows a user to add an Overview item to their collection which persists through their shopping experience.

Main features include:

  • The ability to add a favored product to a collection for later reference while shopping.
  • Each product card contains a "remove" button to remove products from the collection as needed.
  • As the collection expands, a carousel will automatically become available while the Add Item button will remain in place.
  • The Outfit collection will persist through page changes.


  • outfit

Reviews & Ratings

The Reviews & Ratings section consists of three main sections: metadata, reviews, and a review modal.

1. Metadata

The Metadata section shows the average rating of every review for the selected product.

Main features include:

  • Filtering options for the review list. Upon clicking on any of the rating options (e.g. 5 Star), the review list will update to show reviews of that selected rating.
  • The filter is also additive, so it is possible to apply multiple filters at once.
  • Once any number of filters are applied, a "Remove All Filters" link appears and will return the review list to its original state upon being clicked. Selecting every rating will also reset the filter.

  • Rating Breakdown

2. Review List

The Reviews section displays a list of reviews.

Main features include:

  • A sorting options dropdown menu. A user may sort the review list based on Relevance, Newest and Helpful.
  • A link that marks a review as "Helpful". This increments the "Helpful" count by 1.
  • A link that "Reports" a review. This will remove the review from the review list.
  • A "More Reviews" button that loads two more reviews every single time it is clicked.
  • An "Add A Review" button that opens up a review modal where users can leave their own review on the product.

  • sort and load

3. Review Modal

The Review Modal allows users to rate and review the selected product.

  • A star rating system that allows users to rate a review from a score of 1 to 5. Hovering over a star will fill in every star up to the selected star. Clicking on a star will save its position.
  • Fields that allow users to include a summary, review body, name, email address. If any required fields are not filled out, an error message will be sent indicating which fields are missing.
  • Radio buttons that allow users to select whether or not they recommend the selected product.
  • Radio buttons that allow users to rate each characteristic of the selected product (size, width, comfort, quality, etc.).
  • A discard button and a clickable backdrop that exits the modal and returns users to the product page.

  • modal



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%