CODING-Enthusiast9857 / GSDS_Assignments

This repository is dedicated to promoting the principles of green software development for sustainable IT. Our aim is to foster environmentally friendly practices within the software development lifecycle, reducing energy consumption, carbon footprint, and resource usage.

Home Page:https://madhavisonawane.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-commerce Application

Overview

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.

Features

  • 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.

Installation

To get started:

  1. Clone the repository:
   git clone https://github.com/CODING-Enthusiast9857/GSDS_Assignments.git

API Endpoints

  1. Retrieve Products

    • /api/display_products (GET): Retrieve all products.
  2. Get Product Details

    • /api/product/<product_id> (GET): Fetch details of a specific product.
  3. Add Product to Cart

    • /api/cart/add (POST): Add a product to the cart. (Authentication required)
  4. Remove Product from Cart

    • /api/cart/delete (POST): Remove a product from the cart. (Authentication required)
  5. To search product

    • /api/search_product (GET): Search product from cart.

Access website on PythonAnywhere

PythonAnywhere

Screenshots

UI

Sequence Diagram

Display Products

Search Products

About

This repository is dedicated to promoting the principles of green software development for sustainable IT. Our aim is to foster environmentally friendly practices within the software development lifecycle, reducing energy consumption, carbon footprint, and resource usage.

https://madhavisonawane.pythonanywhere.com/

License:MIT License


Languages

Language:Python 63.6%Language:JavaScript 16.4%Language:HTML 11.3%Language:CSS 8.7%