Project created with React
Kloth is a single page e-commerce web application created utilizing React and Node/Express. This project was created by a team of four engineers.
npm install
Runs development server:
npm run build:dev
npm run start:dev
# or
yarn build:dev
yarn start:dev
The application will be running on http://localhost:3000. This script will also run webpack and auto refresh the page whenever you make changes.
Overview
-
The top right will have essential product information such as category, name, price, and average star ratings (if reviews exist).
-
Shoppers can see in the image gallery the photos of the current product and its default style. There is a bar to the left of the image gallery that contains more photos for the shopper to look through. Clicking on the main image will also generate a closable popup of that image.
-
Each product can have multiple styles, and they will appear as bubbles users can select between. Selecting a new style will also change the image gallery to reflect a new set of photos.
-
If a style is in stock, the size and quantity dropdowns will allow selection and shoppers can add to cart.
Related Items & Comparison
-
Displays a list of products related to the product currently being viewed.
-
Clicking on a single product card will navigate to the detail page for that product
-
Clicking on the star displays a comparison modal comparing the details of the product of the current page to those of the product that was selected from this list.
-
Related products are listed as cards in a carousel fashion scrolling horizontally
-
Displays a custom list of products created by the user which the user has selected to group together as an outfit.
-
Clicking on a single product card will navigate to the detail page for that product
-
Clicking on the X removes the product card from the outfit list
-
Outfit is listed as cards in a carousel fashion scrolling horizontally
-
Clicking on the ‘+’ icon adds the currently viewed product to the outfit list
Ratings and Reviews
Questions & Answers
-
Displays a list of up to 4 questions about an item. By clicking additional questions, you can render the rest of the questions. All questions are sorted by their helpful rating.
-
Each question can be marked as helpful or reported to be removed. Each question will also show up to 2 corresponding answers where more can be generated by clicking more answers. Answers from the seller will be prioritized to the top of the list.
-
You can search for specific questions in the search bar that will filter the list to only those that match the search.
-
Modal pop out that will allow the user to add a question for a given product.
-
Modal pop out that will allow the user to add an answer for a given question.
To learn more about React.js, take a look at the following resources:
- React Documentation - learn about React.js features and API.
- Learn React.js - an interactive React.js tutorial.
- You can check out the React.js GitHub repository