The Ratings & Reviews section of an e-commerce retail website that renders live product data from the "Atelier" API.
- React
- CSS Modules
- Flexbox, CSS Grid, CSS3
- HTML
- Axios
- Node (Nodemon) / Express
- Webpack, Babel
- Jest, Enzyme, CircleCI, Lighthouse
- Fork and clone the repo to your local machine
- Install all dependencies with npm install
- Create a config.js file in the root directory exporting a valid Atelier API token
- Run the npm script 'webpack-prod' to build a bundle using webpack
- Run the server with 'node server/server.js'
- Open localhost:3000 on your machine
- Minimalist, clean React front-end optimized with media queries for desktop and mobile devices
- Functional modal built without external libraries (no Boostrap here!) allowing users to write their own reviews
- Dynamic, hoverable stars that allow user to rate current product
- Review list with "Infinite Scroll" to display more reviews first upon clicking "More Reviews" button and subsequent mouse scrolls
- Graphs displaying average star-rating and average rating per characteristic
- Polished button hover effects
- Fade-in transitions with keyframe animations
- Speed, performace, and accessibility for a 95 Lighthouse score
- 67% test coverage with Jest/Enzyme