Skip to content

Rpp2210-FEC-Zephyr/FEC-Retail-Store

Repository files navigation

Zephyr Team - FEC Retail Store

Overview: Zephyr's Store is an online web application that presents comprehensive information about a particular product from an online retailer's catalog. It is categorized by products that have different sizes and styles resulting in unique product IDs. The product detail page exhibits information at the product level and allows users to break it down further by size or style within the same page.

The Zephyr's Store web app is made up of four modules: Product Overview, Ratings & Reviews, Questions & Answers, and Related Items & Outfit Creation. Each module is designed to display pertinent details about the viewed product and offers various functionalities for users to interact with the product.

Technology Used

React JavaScript NodeJS Express.js Jest Webpack Babel

Table of Contents:

  • Product Overview Module
  • Related Items & Outfit Creation
  • Questions & Answers Module
  • Ratings & Reviews Module

Product Overview Module

Screen Shot 2023-04-09 at 9 15 10 PM

  • a. Image gallery
  • b. Product information
  • c. Style selector
  • d. Add to cart -In the Product Info:
    • product category,
    • product name,
    • product overview,
    • clothing,
    • price,
    • rating for the item,
    • a toggle to add product to a "my outfit" carousel.
  • In the Image Gallery

Related Items & Outfit Creation

Screen Shot 2023-04-09 at 9 19 47 PM

-In Both Related and Outfit cards

  • product category,
  • product name,
  • product picture,
  • price,
  • rating for the item,

-In Outfits

  • A 'X' button to remove product from the Outfit carousel

-In Related

  • A 'Detail' button that compares the product to the current product showcasing in ProductOverview

Questions & Answers Module

image

This widget contains:

  • Search bar/function
  • Questions list
  • Answers list

Search bar:

  • whenever a minimum of 3 characters are inputted, the questions in the questions list will be filtered and updated to display in real time the questions that match the current search query.

Questions list:

  • Displays questions asked about the current store item that is selected.
  • Users can post a new question and see the list update to display it without requiring a page refresh.
  • Users can mark any question as "helpful" to promote its order in the list. (all questions are sorted by helpfulness).
  • Initially, up to two questions are rendered. If there are more questions, the "more answered questions" button will render up to an additional 2 questions with each press.

Answers list:

  • Displays answers replied to each question.
  • Users can post a new answer and see the list update to display it without requiring a page refresh.
  • Users can mark any answer as "helpful" to promote its order in the list. (all answers are sorted by helpfulness).
  • Users can report any answer, removing it from the list.
  • Initially, up to two answers are rendered. If there are more answers, the "see more answers" button will render up the remaining answers in the list. The "collapse answers" button will then replace the "see more answers" button and will return the answers list to its default state when pressed.

Ratings & Reviews Module

image

  • The left side component would display the average reviews for the current ProductOverview product as well as the distribution of Stars and their respective review count along with the average rating for these attributes if available: (Size, Width, Comfort, Quality, Length, Fit).
  • The rating section would be based on the main product displayed in the ProductOverview component. The ratings would dynamically render based on the current product.
  • There will be 3 methods of sorting: "Relevant", "Helpful", and "Newest"
  • The widget by design displays only the first 2 reviews, upon clicking on the "More Reviews" button, it would display 2 more, and 2 more until no more reviews for this product.
  • The write review button would open a popup form requiring the customer to enter:
    • Name
    • Email
    • Recommend product or not
    • Rating (1-5)
    • Size (Least to Most)
    • Width (Least to Most)
    • Comfort (Least to Most)
    • Quality (Least to Most)
    • Length (Least to Most)
    • Fit (Least to Most)
    • Review Summary (Max 50 characters)
    • Review Body (Max 1000 characters)
    • Photos (Max 5)

Installation

  1. Git clone from github to a local repository
  2. If not installed already:
    • install npm version 18.1.0
    • install git
    • npm install
  3. Created a local .env file labeling MY_API_TOKEN=""
    • "" would be a password token(generated off github)
  4. On 2 seperate terminals, navigate to the file:
    • npm run server
    • npm run build
  5. Open your browser and go to http://localhost:3000 to view the app.

Usage

To use Zephyr's Store can be used by either browsing through the product catalog or by searching for a specific product using its name or ID. Upon selecting a product, users will be directed to its detailed product page where they can interact with the product in various ways. These include zooming in and out of the product image, selecting different styles or sizes, adding the product to the cart or outfit list, rating and reviewing the product, asking and answering questions about the product, and comparing it with other related products.

The Zephyr's store has several features and functionalities that enhance the user experience and provide useful information about the products. These include a responsive design that adapts to different screen sizes and devices, dynamic rendering of data from an API based on user input and selection, sorting and filtering options for reviews and questions, rating breakdown and product breakdown charts that show statistics and averages of ratings and characteristics, modal windows that allow users to write new reviews or answer questions without leaving the page, a carousel component that displays related products and outfit items in a scrollable list, and a comparison table that shows the differences and similarities between two products.

Contributors

  • Lovinson Dieujuste - Product Overview And Related Items & Outfit Creation
  • Kevin Seng - Question and Answers
  • Alvin Ruan - Ratings and Reviews

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •