lexabu / webApp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Atelier

jupiterLogo

This our first group project (Front-End Capstone) in Hack Reactor.

An e-commerce site

DescriptionInstallationUsageTech-Stack

Description:

Banner

The app emulates an e-commerce site with 4 sub-components:

Overview:

  • Provides an image gallery with responsive thumbnails, main carousel, and expanded image zoom view
  • Rating summary and link to read all reviews
  • Product information: category, name, price, style name
  • Style selector: thumbnails to switch between different styles
  • Add to cart: Select dropdowns for size and quantity, POST request on cart submission
  • Share on socials: icon links to share the product on different social media websites
  • Employs React, JavaScript, CSS, and React libraries: react-alice-carousel, react-inner-image-zoom, react-gallery-carousel, react-select

Overview

Related Items

  • Not implemented - group of 3

Questions and Answers:

  • displays questions and answers in collapsible window, sorted by helpful reviews voting
  • modal forms for adding questions and answers. Form for answers includes an option to add photos. Currently cannot display uploaded local files (API constraint)
  • contains a search bar
  • employs React, vanilla JS, and CSS; axios for requests sent to the API

Q&A

Ratings and Reviews:

  • Allow users to see ratings and reviews for a given product.
  • Provide a quick overview of ratings on different features of the product (e.g. size, quality..)
  • Allow user to search and filter reviews.
  • techs used: React, vanilla JavaScript, CSS, and MUI.

RRs

Additionally, the app also contains a user interaction tracking feature, using React higher order components.

Installation:

Step1: Clone the repo to your local

# clone
git clone https://github.com/Fec4-Jupiter/webApp.git

Step2: Set up .env variables

  1. Change directory to repo's root
  2. Create a .env file
// set up .env
API_TOKEN = "Github_Token"
PORT = [Your_Port]

Step3: Install all necessary dependencies

# Install using npm
npm install

# or using yarn
yarn install

Usage:

  1. make wepack transpiling react automatically
npm run react-dev 
  1. open localhost server
npm run server-dev

Tech-Stack:

Front-end:React with lazy-loadingCSS

  • React with lazy-loading
  • CSS

Back-end:

  • Webpack for bundling
  • Express server serving Gzipped static files and compressed requests / responses with express-static-Gzip and compression
  • Axios for HTTP throughout

Test:

About


Languages

Language:JavaScript 87.6%Language:CSS 12.4%