The project is designed to show most popular shoes categories sorted by categories and colors.
https://ms4ever7.github.io/plp/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node 8.x (preferable LTS) - instruction
- NPM 5.x - instruction
- For install all modules need to do (
npm install
) or (yarn install
). - Than run (
yarn start
) and u're all set up.
- Fot tests there are using Jest & Enzyme
- To run tests u can run (
npm run test
)
- By adding linter u'll provide readability for your code, so i decided to follow https://github.com/airbnb/javascript principles
I've decided to add precommit hooks, so u don't need to run any commands for lint, as while commiting, Husky will check your eslint
- When u click on the color, items that have appropriate colors should be showed
- Don't get confused if u see dublicateed images on items, as a bi difficult to hardcode that json file with all data
- By clicking on the category only shoes with this categories will be shown
- If u choose more than 1 category and don't see your shoes, just scroll down, they will be there ;)