This project is a shopping cart web application developed with React and Vite. It uses Context API for centralized state management of products and the cart. The structure includes reusable components, dedicated pages for the store and cart, and CSS styles.
This project originated as a final assignment for a course. As a personal challenge and to further my knowledge, I intend to add more features to it.
- Shopping Cart: Allows users to add and manage products in a cart.
- State Management: Uses React Context API for efficient global state management.
- Reusable Components: Component-based structure for easy maintenance and scalability.
- Fast Development: Configured with Vite for agile development.
src/assets: Static resources (images).src/components: Reusable React components.src/context: Contexts and providers for state management.src/pages: Main application pages.src/styles: CSS styles.main.jsx: Application entry point.- Configuration Files: Vite, ESLint, Git, etc.
-
Clone the repository:
git clone https://github.com/WaCnerDev/shoppkua.git
-
Navigate to the project directory:
cd shoppkua -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser at
http://localhost:5173.
- React
- Vite
- Vite: Configured in
vite.config.js. - ESLint: Configured in
eslint.config.js. - Git: Ignores unnecessary files with
.gitignore.
Contributions are welcome. Please create a pull request with your improvements.
This project is under the MIT license.