OnlineStore displays all the products in the home page with search field. User can click on any of the product to see more detailed information about the product. Also, users can search for any particular product by simply providing the category name on the search input field.
https://shiva-adhikari-online-store.netlify.app/
-
Clone the project
git clone https://github.com/ShivaAdhikari7/online-store. -
Install all the dependencies
npm installornpm i. -
Run the project
npm start.
After these steps, the localhost server on port 3000 will start - localhost.
After localhost is started by the React development server, the home page should look like below:
Now, you can search for the product by category using search input field. I have searched for Electronics category products:

Also, you can view the details of certain product by clicking on it.

There is also add to cart functionality. I have added certain products to the add in below screenshot:

Responsive home page:
Responsive detail page:
- As frontend library, I have used React.
- For getting the product data, I have used Fake Store API.
- For routing, I have used react-router-dom.
- As CSS Pre-processor, I have used SASS.
- For global state management, I have used Redux with
redux-toolkit. - For react binding, I have used React Redux.
- For toaster, I have used React Toastify.



