- Vite
- React.js
- tailwind css
- lucide react
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
Open command prompt -> type 'cd desktop' ->
git clone https://github.com/Rukhsarkh/React-e-commerce.git
close command prompt -> open the created folder in code editor AND run just 2 commands :-
install the project dependencies using npm
npm install
Running the project
npm run dev
Voila ! have a look into your browser !
- Nothing special, can do that if i get more time, you can check my frontend projects, i have designed them all by myself
- truncated title and product description
- implementation of StarRatingIcon component, included float values even
- displaying only the image on gray background excluding the white background of image using mix-blend-multiply
- used pseudo elements to (grayish) encircle the services icons
- maintainable and modular code
- responsivness across mobile, tablet/laptop, desktop
- error handling, conditional renderings
- shows "category not found" on searching unavailable category
- semantic html, accessiblity considerations, React Hooks for state management
- tried to make everything look like the sample designs
- it was a simple project, struggled nowhere
- i would implment state management using Redux
- structure the css into user defined class for modularity