Skip to content

πŸš€ Goldylocks POS System | A web-based functional programming POS system for cake shops! 🍰 Features real-time cart updates, accurate change calculation, and receipt generation. Built with pure functions, immutability, and higher-order functions for scalability & efficiency.

Notifications You must be signed in to change notification settings

PaulPaolo2929/Goldilocks-Point-of-Sale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Goldilocks POS Banner

🍰 Goldilocks POS System

PHP MySQL JavaScript License: MIT Status Made with Love

A web-based functional programming Point of Sale (POS) system designed for Goldilocks cake shops πŸͺ.
Handles transactions with real-time cart updates, accurate change calculation, and optimal denomination breakdown β€” built with pure functions, immutability, and higher-order functions for scalability & efficiency.


✨ Features

βœ… Add cakes to cart by code or selection
βœ… Real-time subtotal, tax, and total calculation
βœ… Accurate change computation using greedy algorithm
βœ… Suggests optimal change denominations (bills & coins)
βœ… Receipt generation with transaction details
βœ… Functional programming principles:

  • Pure functions
  • Immutability
  • Higher-order functions
  • Function composition
    βœ… Local Storage support to persist cart during page reloads
    βœ… Error handling for invalid codes, insufficient payment, or zero quantity

πŸ›  Tech Stack

Frontend: HTML5, CSS3, JavaScript (ES6+), jQuery
Backend: PHP 8+, MySQL 8.0
Programming Paradigm: Functional Programming
Tools: VS Code, XAMPP/WAMP, GitHub
Security: Input validation, client-side error handling


πŸš€ Quick Start

  1. Clone repo
git clone https://github.com/PaulPaolo2929/Goldilocks-Point-of-Sale.git

About

πŸš€ Goldylocks POS System | A web-based functional programming POS system for cake shops! 🍰 Features real-time cart updates, accurate change calculation, and receipt generation. Built with pure functions, immutability, and higher-order functions for scalability & efficiency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •