CLICON is an eCommerce platform similar to Amazon, allowing users to browse products, add them to their cart, and manage their orders. The platform includes user authentication, cart management, and product browsing by category.
- Browse Products: Explore a wide range of products across different categories.
- Add to Cart: Users can add products to their cart, update quantities, and remove items.
- User Authentication: Register and login to save your cart and track your orders.
- Category Filtering: Browse products based on specific categories.
- Cart Persistence: Users' carts are saved upon login, allowing them to return to their session.
βββ πsrc
βββ πassets
βββ πimages
βββ error.png
βββ Logo.png
βββ πcomponents
βββ πbars
βββ DiscountBar.jsx
βββ Footer.jsx
βββ Header.jsx
βββ SubscribeBar.jsx
βββ πmain
βββ HomeMain.jsx
βββ πproducts
βββ Categories.jsx
βββ Products.jsx
βββ Cart.jsx
βββ index.js
βββ πpages
βββ πErrorPage
βββ ErrorPage.jsx
βββ πHomePage
βββ HomePage.jsx
βββ πShopPage
βββ ShopPage.jsx
βββ πSignPage
βββ SignIn.jsx
βββ SignUp.jsx
βββ index.js
βββ πrouter
βββ index.jsx
βββ ProtectedRoute.jsx
βββ πstore
βββ πslices
βββ cartSlice.js
βββ productsSlice.js
βββ store.js
βββ πstyles
βββ πfonts
βββ _fonts.css
βββ global.css
βββ πutils
βββ icons.util.jsx
βββ App.jsx
βββ main.jsx
- Frontend: React, Vite, Tailwind CSS
- State Management: Redux
- Routing: React Router
- API: DummyJSON API for fetching products and handling basic user data
- Build Tool: Vite for fast and optimized development
-
Clone the repository:
git clone https://github.com/yourusername/CLICON.git
-
Navigate to the project folder:
cd CLICON -
Install the dependencies:
npm install
-
Start the development server:
npm run dev
The project will be running.
- Browse products and categories.
- Add products to your cart.
- Login or register to save your cart and proceed with checkout.
- (you can use this account to login )
username:michaelw password:michaelwpass
We used DummyJSON API to simulate product and user data.
- React: For building the user interface.
- Vite: As the build tool for fast and optimized bundling.
- Tailwind CSS: For responsive and utility-first styling.
- Redux: For global state management (managing cart, user authentication, etc.).
- React Router: For handling navigation and routing in the app.