Back to Portfolio
Full Stack System

Integrated POS Cashier & Stock Management

Integrated POS Cashier & Stock Management screenshot 1
1 / 5

About the Project

A modern Point of Sale (POS) Cashier application specifically designed to meet the digital needs of MSMEs. The system integrates real-time sales transaction logging with inventory and raw materials management to prevent data discrepancies. This application is built to run robustly on local networks (local server-client configuration) with ultra-low latency, leveraging a laptop as the local server and tablets or desktops as cashier clients.

Key Features

Authentication & Security (RBAC)

  • Multi-Role User: User role segregation between ADMIN (store owner/manager) and CASHIER (operational staff).
  • Secure Authentication: Secure login system utilizing bcrypt password encryption and JWT authorization tokens.
  • Role-Based Access Control: Cashiers are restricted to the sales module and self-shift management, while Admins hold full control over product data, inventory, profit/loss reports, and employee account management.
  • Admin PIN Override Protocol: Transaction voids require an Admin PIN input directly on the cashier screen on-the-fly to prevent data manipulation.

Cashier Module (Point of Sale)

  • Fast Product Catalog: Product filtering by category and instant search-as-you-type.
  • Dynamic Shopping Cart: Add, subtract, remove items, and edit item quantities in the cart with automated subtotal, promo discounts, and total price calculations.
  • Flexible Payment Methods: Support for CASH, DEBIT, and QRIS (integrated with a QR Code Generator) payments with precise cash change calculation.
  • Digital & Printed Receipts: Generate instant digital receipts upon successful transaction, with features to export to PDF or print directly using a local printer.

Work Shift Management

  • Open Shift: Cashiers input initial petty cash capital before handling sales transactions.
  • Close Shift: Cashiers input the physical cash amount in the drawer at the end of the shift for reconciliation against expected system balances (expected cash), minimizing discrepancy risks without displaying the system balance to the cashier.
  • Shift History: Admins can view the shift opening and closing history of all employees, including any recorded cash discrepancies.

Inventory & Recipe Management (Recipe-Based)

  • Automated Inventory Deduction: Stock deduction is executed using database Interactive Transactions to guarantee data integrity (ACID Compliance) when transactions are completed.
  • Recipe-Based Inventory System: Supports recipe-based products. When a recipe-based product is sold, the system automatically deducts the associated raw materials according to the recipe measurements.
  • Master Data Management: Full CRUD (Create, Read, Update, Delete) capability for Categories, Products (including image uploads, SKU, cost price/COGS, retail price, and recipe status), Units, and Raw Materials.
  • Stock Adjustment (Restock): Logging of incoming and outgoing inventory adjustments outside of cashier transactions.
  • Low Stock Indicators: Visual alerts (red badges) when the quantity of a product or raw material drops below the set minimum limit.

Promo & Discount Management

  • Multi-Type Promos: Supports various promo schemes such as PERCENTAGE, FIXED_AMOUNT, BOGO (Buy One Get One), and HAPPY_HOUR (time-range based promo).
  • Flexible Rules: Customize promo validity periods, minimum purchase thresholds, usage quotas, and stackable settings (combining with other promos).

Business Dashboard & Audit Trail

  • Performance Summary (Financial Reports): Daily/periodic dashboard displaying total revenue, gross profit, COGS (Cost of Goods Sold), transaction counts, and sales statistics.
  • Best Selling Products: Rankings of products with the highest sales volume to assist in business analysis.
  • Activity Log (Audit Trail): Tracking of sensitive activities (such as product deletions, stock updates, transaction voids) for internal oversight and security audits.

Project Specs

Category
Full Stack System

Tech Stack

Frontend / Client
Flutter (Android & Windows)Provider (State Management)Material Design 3
Backend / Server
Node.js (TypeScript)Express.js REST APIPrisma ORM
Database
PostgreSQL