Skip to content

rahim-ch/ecommerce-example-

Repository files navigation

Ecommerce Example App

This is a web application that demonstrates an ecommerce website with a list of products on the home page, and allows users to add products to their cart and favorites list. The app also includes a navigation bar with two pages to view the cart and favorited products, with the ability to cancel the operation at those pages. The state is managed with the useState hook and shared between pages using the context provider.

Features

  • Display a list of products on the home page
  • Add products to cart and favorites list
  • View cart and favorites list on separate pages
  • Ability to cancel the operation at cart and favorites list pages
  • State management with useState and context provider

Technologies used

  • React JS

Why I created this project

I built this project to practice my skills in React JS, specifically with state management and context provider. Ecommerce websites are a great way to learn how to manage state in a complex application, and sharing state between pages can be a challenging but rewarding experience.

How to run the app

To run this app on your local machine, follow these steps:

  1. Clone the repository
  2. Install the dependencies by running npm install
  3. Start the development server with npm start

That's it! You should now be able to view the app in your browser at http://localhost:3000.

Contributing

If you find a bug or have a suggestion for how to improve this app, feel free to open an issue or submit a pull request. Contributions are always welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published