This application allows users to perform various e-commerce tasks such as browsing products, adding items to cart, and making purchases. It provides a seamless shopping experience with an intuitive interface.
- Product Management: Browse through a wide range of products categorized neatly.
- Shopping Cart: Add products to your cart and manage them before checkout.
- User Authentication: Secure user authentication ensures privacy and security of user information.
- API Integration: The application can be accessed programmatically via API endpoints.
To get started:
- Clone the repository:
git clone https://github.com/CODING-Enthusiast9857/GSDS_Assignments.git
-
Retrieve Products
/api/display_products
(GET): Retrieve all products.
-
Get Product Details
/api/product/<product_id>
(GET): Fetch details of a specific product.
-
Add Product to Cart
/api/cart/add
(POST): Add a product to the cart. (Authentication required)
-
Remove Product from Cart
/api/cart/delete
(POST): Remove a product from the cart. (Authentication required)
-
To search product
/api/search_product
(GET): Search product from cart.