Laravel E-Commerce and POS System
Modern web application combining E-commerce Platform and Point of Sale (POS) System in one integrated solution. Built with Laravel 11, featuring member loyalty programs, real-time customer displays, and comprehensive inventory management.
🏪 E-commerce Platform
Product Catalog with categories, variants (size/color), and advanced search
Shopping Cart with real-time price updates and variant selection
Member System with points reward, daily check-in bonuses (5→25 points progression)
Order Tracking with multiple payment methods (Cash, Transfer, E-Wallet)
Product Reviews and ratings system
Responsive Design optimized for mobile and desktop
💳 Point of Sale (POS)
Barcode Scanner integration for fast product lookup
Dual Display – Cashier terminal + Customer-facing display (sync via localStorage/API)
Variant Support with individual pricing and barcode per variant
Member Verification system with secure 4-digit code validation
Real-time Stock validation and auto-refresh prices before checkout
Receipt Printing with order details and points earned
Transaction History with date filtering and export to Excel/PDF
👥 Multi-Role System
Admin – Full control (products, users, reports, banners)
Cashier – POS operations, order management, member registration
Member – Shopping, points collection, reward redemption, order history
📊 Admin Dashboard
Sales Reports with charts and analytics
Inventory Management with stock alerts
User Management with role-based access control
Banner Management for home page and customer display
Export Reports to Excel and PDF
🎁 Loyalty & Gamification
Daily Check-in Rewards – Progressive points (5→7→9→12→16→20→25)
Points System – Earn points from purchases, redeem for vouchers
Reward Vouchers with expiration dates
Notification Center for member verification and updates
# Clone repository
git clone https://github.com/LinggaKeandre/Aplikasi-E-commerce-Kasir.git
cd Aplikasi-E-commerce-Kasir
# Install dependencies
composer install
npm install && npm run build
# Setup environment
cp .env.example .env
php artisan key:generate
# Configure database in .env file
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
# Run migrations and seeders
php artisan migrate –seed
# Create storage link
php artisan storage:link
# Serve application
php artisan serve
Admin
Email: admin@anashop.com
Password: password
Cashier (Kasir)
Email: kasir@anashop.com
Password: password
Member
Email: member@anashop.com
Password: password
Public Routes
/ – Product catalog (homepage)
/product/{slug} – Product detail page
/cart – Shopping cart
/checkout – Checkout process
Member Routes
/profile – User profile management
/orders – Order history
/points – Points & rewards
/notifications – Member notifications
/daily-rewards/claim – Claim daily check-in
Cashier Routes
/kasir/dashboard – Cashier dashboard
/kasir/transaksi – POS terminal
/kasir/customer-display – Customer-facing display
/kasir/riwayat – Transaction history
/kasir/pesanan – Order management
Admin Routes
/admin/dashboard – Admin dashboard with analytics
/admin/products – Product management (CRUD)
/admin/categories – Category management
/admin/accounts – User management
/admin/reports – Sales reports & exports
/admin/banners – Banner management
Open /kasir/customer-display on a separate device/screen
System will auto-sync cart data from cashier terminal
Display shows: Cart items, Total, Payment method, Transaction success animations
Environment Variables (.env)
# Application Configuration
APP_NAME="Anashop"
APP_URL=http://localhost:8000
# Database Configuration
DB_CONNECTION=mysql
DB_DATABASE=kasir_v2
# Mail Configuration (for notifications)
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
Storage Permissions
Jalankan perintah berikut pada terminal Anda untuk mengatur hak akses folder (permissions):
chmod -R 775 storage
chmod -R 775 bootstrap/cacheContributions are welcome! Please follow these steps:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Developed by Lingga Keandre – Full-stack Developer