Skip to content

SwayamGupta12345/e-commerce-system-in-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

E-Commerce System

This is a comprehensive and responsive e-commerce system implemented in C++ using vectors and other standard libraries. The system was developed as a second-year semester project, focusing on essential features for managing an online store.

Features

  • User Authentication: Secure login with a default username and password.
  • Product Management: Add, remove, and manage products in the store.
  • Cart System: Users can add products to a cart and manage their purchases.
  • Order Processing: Handle orders from users with real-time updates.

Getting Started

Prerequisites

  • A C++ compiler (e.g., GCC, Clang)
  • Basic understanding of C++ and file handling

Installation

  1. Clone the Repository

    git clone https://github.com/SwayamGupta12345/e-commerce-system-in-cpp.git
    cd e-commerce-system-in-cpp
  2. Compile the Program

    g++ -o ecommerce E-commerce.cpp
  3. Run the System

    ./ecommerce

Usage

Initial Setup

  • Run the provided input file (input before running.txt) to load initial data into the system.
  • Alternatively, create your own input file in the same format.

Login

  • Use the following credentials to access the system:
    • Username: Programmer
    • Password: 123

Interact with the System

  • Product Management: Add new products, update existing ones, or remove them from the system.
  • Cart and Orders: Manage your shopping cart, proceed to checkout, and handle order processing.

File Structure

  • E-commerce.cpp: The main file containing the entry point and core logic of the system.
  • input before running.txt: Sample input file to initialize the system with products and other data.
  • README.md: This file.

Customization

  • Modify input before running.txt to include different products or user data for testing.
  • Adjust the code in E-commerce.cpp to add new features or improve existing functionality.

Troubleshooting

  • Login Issues: Ensure the correct credentials are used (case-sensitive).
  • Data Loading: Verify the format of input before running.txt to ensure compatibility with the system.

Contact

For any queries or issues, please contact [[email protected]].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages