Skip to content

It a shopping mart application which allows customer to select items and later proceeds to checkout

License

Notifications You must be signed in to change notification settings

Sumit-repo/Pick-n-Pay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Pick-n-Pay

Pick-n-Pay is a secure and user-friendly shopping application that allows users to browse through a supermart's items, select products to purchase, and seamlessly complete the checkout process. The application prioritizes user verification for a secure shopping experience and generates PDF invoices for successful transactions.

Features

  • User Verification: Ensures secure access to the application by verifying users.
  • Product Selection: Allows users to browse and select items from the supermart's inventory.
  • Smooth Checkout: Provides a seamless checkout process for a hassle-free shopping experience.
  • PDF Invoice Generation: Automatically generates PDF invoices for completed transactions.

Installation

  1. Clone the repository.
  2. Install dependencies using
<dependency>
    <groupId>com.mysql</groupId>
    <artifactId>mysql-connector-j</artifactId>
    <version>8.0.33</version>
</dependency>

and

<dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>itextpdf</artifactId>
    <version>5.5.13.3</version>
</dependency>
  1. Configure the necessary environment variables.
  2. Use MySQL Database
  • Create tables

    salesperson

    CREATE TABLE users (
    id INT NOT NULL PRIMARY KEY,
    name VARCHAR(20),
    password VARCHAR(50),
    admin_password VARCHAR(50));

    Items_sold

    CREATE TABLE purchases (
    name VARCHAR(500),
    quantity VARCHAR(255),
    total_price DOUBLE,
    Time DATETIME);

    Items

    CREATE TABLE products (
    id INT NOT NULL AUTO_INCREMENT,
    Name VARCHAR(50) NOT NULL,
    Category VARCHAR(50) NOT NULL,
    Price DOUBLE,
    Quantity INT,
    PRIMARY KEY (id),
    UNIQUE KEY (Name));

Technologies Used

  1. Java
  2. MySQL

Libraries Used :

  1. JDBC
  2. itextpdf

License

This project is licensed under the MIT License.

Acknowledgments

  • Any acknowledgments or credits for third-party libraries, frameworks, or resources used in the project.

About

It a shopping mart application which allows customer to select items and later proceeds to checkout

Topics

Resources

License

Stars

Watchers

Forks

Languages