{"id":49508839,"url":"https://github.com/webdevbysubha/quick-basket-pos","last_synced_at":"2026-05-01T18:03:32.294Z","repository":{"id":344658051,"uuid":"1182607803","full_name":"webdevbysubha/quick-basket-pos","owner":"webdevbysubha","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-15T19:03:46.000Z","size":631,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-16T07:16:39.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://quick-basket-pos.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webdevbysubha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-15T18:38:08.000Z","updated_at":"2026-03-15T19:04:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/webdevbysubha/quick-basket-pos","commit_stats":null,"previous_names":["webdevbysubha/quick-basket-pos"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/webdevbysubha/quick-basket-pos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbysubha%2Fquick-basket-pos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbysubha%2Fquick-basket-pos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbysubha%2Fquick-basket-pos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbysubha%2Fquick-basket-pos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevbysubha","download_url":"https://codeload.github.com/webdevbysubha/quick-basket-pos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevbysubha%2Fquick-basket-pos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32507094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-01T18:03:18.487Z","updated_at":"2026-05-01T18:03:32.289Z","avatar_url":"https://github.com/webdevbysubha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛒 Quick Basket POS\n\n![Quick Basket POS](https://img.shields.io/badge/Status-Active-brightgreen.svg)\n![React](https://img.shields.io/badge/Frontend-React.js-blue.svg)\n![Python](https://img.shields.io/badge/Backend-Flask_Python-yellow.svg)\n![Tailwind](https://img.shields.io/badge/CSS-Tailwind-38B2AC.svg)\n\n**Quick Basket** is a modern, responsive, and visually stunning Point of Sale (POS) web application designed to bring a premium, retail-grade dashboard experience to independent stores and small businesses. \n\n## ✨ Features\n\n- **📷 Live Cloud Scanner**: Instantly scan barcodes using your device's camera via the live viewfinder, featuring an animated scanning HUD and pause/resume functionality.\n- **⚡ Super-Fast Checkout**: Quick manual barcode search and an intuitive visual cart with instant quantity updates and total calculations (including modular tax percentages).\n- **🖨️ Thermal Receipts**: Instantly generate realistic PDF thermal receipts ready for direct thermal printing or digital download.\n- **📊 Admin Dashboard**: A clean, auto-refreshing admin panel providing a live look at your active Product Inventory and complete Sales History logs.\n- **🎨 Modern Retail Aesthetic**: Built from the ground up to look beautiful. Features soft shadows, glassmorphic blur effects, vivid gradient call-to-actions, and incredibly snappy micro-animations.\n- **🛡️ State Management \u0026 Data Retention**: Your receipt history permanently logs the exact item name and sold price, ensuring completely accurate records even if a product is deleted from the active inventory later.\n\n---\n\n## 🛠️ Technology Stack\n\n**Frontend**\n- **React.js** (via Vite for lightning-fast HMR)\n- **Tailwind CSS v3** (Utility-first styling, highly customized theme tokens)\n- **react-qr-barcode-scanner** (Live camera feed integration)\n- **jsPDF** (Receipt vector generation)\n- **Lucide React** (Beautiful standardized iconography)\n- **React Toastify** (Non-blocking notification system)\n\n**Backend**\n- **Python 3.x**\n- **Flask** (Lightweight scalable REST API architecture)\n- **Flask-SQLAlchemy** (ORM handling complex SQL relationships natively)\n- **SQLite** (Bundled, cross-platform database; effortlessly up-gradable to PostgreSQL/MySQL)\n\n---\n\n## 🚀 How to Run Locally\n\nFollow these quick steps to get the POS running natively on your local machine.\n\n### 1. Requirements\nEnsure you have the following installed on your machine:\n- **Node.js** (v16.0 or higher)\n- **Python** (v3.9 or higher)\n\n### 2. Clone the Repository\n```bash\ngit clone \u003cyour-repository-url\u003e\ncd POS\n```\n\n### 3. Setup the Python Backend\nOpen a terminal and navigate to the backend directory to set up the Python environment:\n\n```bash\ncd backend\n\n# Create a virtual environment\npython -m venv venv\n\n# Activate the virtual environment\n# On Windows:\nvenv\\Scripts\\activate\n# On Mac/Linux:\nsource venv/bin/activate\n\n# Install the necessary dependencies\npip install -r requirements.txt\n\n# (Optional) Seed the database with some sample products\npython seed.py\n\n# Start the Flask API server\npython app.py\n```\n*The backend should now rapidly spin up on `http://localhost:5000`.*\n\n### 4. Setup the React Frontend\nOpen a **new** terminal window, keeping the backend terminal running open in the background.\n\n```bash\ncd frontend\n\n# Install the Node packages\nnpm install\n\n# Start the Vite development server\nnpm run dev\n```\n\n*The frontend should now jump to life on `http://localhost:5173`. Open this URL in your web browser!*\n\n---\n\n## 📸 Core Views\n\n### 1. The Terminal (POS Register)\nThe main checkout UI. Scan items using your webcam or type the barcode in the quick registration bar. Monitor the active cart on the right and hit **Confirm \u0026 Pay** to instantly finalize the transaction.\n\n### 2. The Admin Dashboard\nNavigate to the Admin switch in the top header. \n- **Products Tab**: Add new inventory, adjust pricing, manage categories, or delete discontinued items.\n- **Sales History Tab**: View a robust, chronologically accurate log of all settled receipts, complete with itemized breakdowns and localized exact timestamps.\n\n---\n\n## 👨‍💻 Development \u0026 Formatting\n\n- **Database Management**: Modify `models/database.py` for new schema rules. If altering tables, ensure you write a brief migration script or clear `pos.db`.\n- **Styling Changes**: Global theme colors (primary, accent, card hues) can be edited instantly in `frontend/tailwind.config.js`.\n\n*Thank you for exploring Quick Basket!*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevbysubha%2Fquick-basket-pos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevbysubha%2Fquick-basket-pos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevbysubha%2Fquick-basket-pos/lists"}