This project implements a simple Point of Sale (POS) system using JavaScript. It's designed to manage customers, items, and orders in-memory without a backend server. Below are the key features and functionalities:
-
Customer Management:
- Add, update, remove customers.
- View all customers and their details.
-
Item Management:
- Add, update, remove items.
- View all items and their details.
-
Order Management:
- Create new orders.
- Search for orders by ID.
- Add items to orders, adjust quantities, and calculate totals.
- Apply discounts and manage payment information.
-
Frontend:
- JavaScript (ES6+)
- HTML5
- CSS3
- jQuery
-
Backend:
- No traditional backend; In-memory storage handled within the client using JavaScript arrays..
To run the POS system locally:
-
Clone this repository: git clone https://github.com/CharakaMihiranga/In-memory-POS-System.git
cd repository-folder
-
Open
index.html
in your web browser. -
Navigate through different sections using the navigation bar:
- Customer Management
- Item Management
- Order Management
- Add Customer: Fill in customer details and click "Save".
- Update Customer: Select a customer from the list, modify details, and click "Update".
- Remove Customer: Select a customer from the list and click "Remove".
- View All Customers: Click "View All Customers" to see a list of all customers.
- Add Item: Fill in item details and click "Add Item".
- Update Item: Select an item from the list, modify details, and click "Update".
- Remove Item: Select an item from the list and click "Remove".
- View All Items: Click "View All Items" to see a list of all items.
- Create New Order: Enter customer and item details, add items to the cart, apply discounts, and complete the order.
- Search Order: Enter an order ID and click "Search" to retrieve and view order details.
- Add Items to Order: Select items from the list, specify quantities, and click "Add Item" to add them to the order cart.
- Calculate Totals: The system automatically calculates subtotal, discounts, and balance.
- Update Item Quantities: After completing an order, the item quantities are automatically updated.
Here are some screenshots of the POS System :