POS / E-commerce
Active
LitePOS
Unified POS + multi-theme e-commerce on Laravel — sales, stock, returns, storefronts, and Dockerized deploy.
THE CHALLENGE
Small shop owners juggling separate POS, stock, and storefront tools — with no per-store isolation, no production deploy story, and no shared customer/cart layer between channels.
THE APPROACH & ARCHITECTURE
A unified Laravel POS + 3-theme e-commerce storefront on a single codebase: sales/purchases/returns, strict tenant isolation, RBAC, Dockerized deploy with rollback, and a shared cart/checkout layer across stores.
Impact Highlights
- Replaced fragmented shop management with a unified POS — sales, purchases, returns, stock movement reports — giving owners a single source of truth.
- Cut time-to-market for new storefronts with 3 production-ready e-commerce themes (Nova/Style/Fresh — Amazon/Daraz/Chaldal inspired) sharing one cart/checkout/auth layer.
- Prevented cross-tenant data leaks via strict per-store isolation with route model bindings and RBAC (admin/store admin/cashier).
- Simplified production deployment with Dockerized stack (PHP 8.2 FPM, Nginx, MySQL 8, Redis), Cloudflare Tunnel, and rsync deploy script with automated rollback.
Tech Stack
LaravelDaisyUITailwindAlpine.jsMySQL 8RedisDockerCloudflare TunnelSSLCommerzbKashStripe
Scope of Work
13
- Redesigned sale POS workspace UI with sidebar controls.
- Built sales, purchases, product variants, stock movements, returns modules with reports.
- Three e-commerce themes (Nova/Style/Fresh) with shared cart sidebar (Alpine.js, DaisyUI, toast notifications), light/dark toggle, customer auth, profile, password reset, checkout auto-fill, order details, product image slider with zoom.
- PC builder module integrated with categories and products.
- Pivoted to single-shop MVP: removed multi-store scaffolding, SaaS billing, public registration.
- Added LogsActivity trait on core models, Sale/Purchase policies, try-catch-transaction pattern.
- Docker stack with Cloudflare Tunnel support and trust proxies; rsync deploy script with rollback.
- Comprehensive product seeder (5 categories), demo accounts, OrderSeeder.
- Built professional PDF receipt generation with thermal printer layouts, float overlapping fixes, and font fallbacks.
- Unified report builder across sales, purchases, and stock with date-range filtering.
- Integrated SSLCommerz, bKash, and Stripe payment gateways with per-store payment settings.
- Added shop login before checkout with cart preservation across sessions.
- Compact sidebar layout with toggle, POS keyboard navigation, and fullscreen mode.