Git Product home page Git Product logo

-pc-01's Introduction

Getting Started with product comparison App

This project allows to compare max 4 products and show specifics. App is not allowed to deselect all products on the list.

Simple api used : http://5c35e7f96fc11c0014d32fcd.mockapi.io/compare/products

Available Scripts

In the project directory, you can run:

yarn install

Install packages before you run this app.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

This allows to run jest test ( testing libary ) And will show coverage summary.

Essential Requests

  • Show and hide products

  • Highlight differences between product features

  • Features ordered alphabetically by feature name

  • Badges should be placed before features

  • According to the API, the following keys are not product features to compare: salePrice, manufacturerName, grossPrice, BUP_UOM, BUP_Value, uom, productImage, BUP_Conversion, minQuantity, manufacturerImage, name, sku, listPrice, channel, display, atp (v)

Optimal Requests

  • Webpack

  • Styled components More to improve:Should use more global variable for colors

  • Responsiveness stick header is not fully working from mediume size devices currencly used scroll x and y... have to more improve

  • Browser backward compatibility (IE11)

  • Delivery the exercise with a readme file that explains what you have done and how to run your project.

Quick overview

No.1 Screenshot No.2 Screenshot No.3 - when user selected only 1 product Screenshot No.4 - from middle size screen Screenshot No.5 - from middle size screen Screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.