Skip to content

DapCodes/CuanFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

664 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CuanFlow - Smart POS & Business Management System

Laravel TailwindCSS License

CuanFlow is a modern, feature-rich Point of Sale (POS) and business management system built with Laravel 12. It is designed to help small to medium-sized businesses manage their operations efficiently, from inventory and production to sales and financial reporting, enhanced with AI-driven insights.


Key Features

Point of Sale (POS)

  • Fast Checkout: Intuitive interface for quick transactions.
  • Multiple Payment Methods: Supports Cash, Transfer, and Integrated Online Payments (Midtrans).
  • Discount & Voucher System: Flexible discount rules (Percentage, Fixed, Buy X Get Y) and voucher code validation.
  • Cash Register: Track opening/closing balances and daily cash flow.

Inventory & Production

  • Raw Material Management: Track stock levels and supplier information.
  • HPP (COGS) Calculator: Automatically calculate Cost of Goods Sold for products.
  • Recipe Management: Define recipes for products and automatically deduct raw materials upon production.
  • AI Recipe Generator: Leverage AI to suggest or optimize product recipes.

Finance & Analytics

  • Income & Expense Tracking: Comprehensive logging of all financial movements.
  • Sales Analytics: Detailed charts for sales trends, top products, and payment methods.
  • Export Reports: Generate professional Excel and PDF reports.
  • AI Insights: Automated business analysis and recommendations.

Clara AI Assistant

  • Interactive AI: Chat with Clara to ask about your business performance, get advice, or navigate the system.

πŸš€ Tech Stack & Integrations

πŸ“– Dokumentasi Lengkap: Untuk detail seluruh daftar pustaka (library) yang digunakan beserta penjelasannya, silakan cek file TECH.md.

Berikut adalah daftar teknologi dan library utama yang menggerakkan sistem CuanFlow:

Teknologi / Library Kategori Deskripsi Library Contoh Penggunaan di CuanFlow
Laravel Framework Framework PHP terstruktur berbasis MVC backend. Fondasi utama sistem backend, routing web/API, ORM Eloquent.
MySQL Database Sistem penyimpan data rasional (RDBMS). Menyimpan semua data produk, transaksi kasir, dan akun user.
Tailwind CSS Frontend UI Utility-first framework CSS canggih. Styling seluruh tampilan dashboard, komponen alert, dan form.
Alpine.js Interactivity Minimal JS framework reaktif untuk interaktivitas file Blade. Mengatur state dropdown menu kasir, modal, dan animasi navigasi.
Midtrans Payment Solusi Payment Gateway lengkap di Indonesia. Integrasi halaman pelunasan hutang pelanggan (debt payment).
Gemini AI Integrasi AI Model kecerdasan buatan dari Google via API. Fitur chatbot Clara AI dan generate ide produk/resep (otomasi).
Chart.js & ApexCharts Analytics Library JavaScript pengubah data menjadi grafik visual. Merender metrik penjualan, laporan top item, & grafik CPU Monitor.
Spatie Security & Utils Paket esensial keamanan & otomasi dari Spatie. Memanajemen control Roles & Permission antar kasir/owner, Backup.
Leaflet Maps Library visualisasi Peta (Maps) ringan. Digunakan pada fitur Sales Map untuk melacak letak titik transaksi.

Project Structure

A high-level overview of the project's folder structure:

CuanFlow/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ Console/            # Artisan commands
β”‚   β”œβ”€β”€ Events/             # Application events
β”‚   β”œβ”€β”€ Exceptions/         # Exception handling
β”‚   β”œβ”€β”€ Exports/            # Excel export classes
β”‚   β”œβ”€β”€ Helpers/            # Helper functions
β”‚   β”œβ”€β”€ Http/
β”‚   β”‚   β”œβ”€β”€ Controllers/    # Application controllers
β”‚   β”‚   β”œβ”€β”€ Middleware/     # Request filtering
β”‚   β”‚   β”œβ”€β”€ Requests/       # Form validation
β”‚   β”‚   └── Resources/      # API resources
β”‚   β”œβ”€β”€ Jobs/               # Queued jobs
β”‚   β”œβ”€β”€ Listeners/          # Event listeners
β”‚   β”œβ”€β”€ Mail/               # Mailable classes
β”‚   β”œβ”€β”€ Models/             # Eloquent models
β”‚   β”œβ”€β”€ Notifications/      # Notification classes
β”‚   β”œβ”€β”€ Observers/          # Model observers
β”‚   β”œβ”€β”€ Policies/           # Authorization policies
β”‚   β”œβ”€β”€ Providers/          # Service providers
β”‚   β”œβ”€β”€ Services/           # Business logic services
β”‚   └── View/Components/    # Blade components
β”œβ”€β”€ config/                 # Application configuration
β”œβ”€β”€ database/
β”‚   β”œβ”€β”€ factories/          # Model factories
β”‚   β”œβ”€β”€ migrations/         # Database schema migrations
β”‚   └── seeders/            # Database seeders
β”œβ”€β”€ public/                 # Web server root
β”œβ”€β”€ resources/
β”‚   β”œβ”€β”€ css/                # Tailwind CSS
β”‚   β”œβ”€β”€ js/                 # JavaScript assets
β”‚   └── views/              # Blade templates
β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ api.php             # API routes
β”‚   β”œβ”€β”€ channels.php        # Broadcasting channels
β”‚   β”œβ”€β”€ console.php         # Console commands
β”‚   └── web.php             # Web routes
β”œβ”€β”€ storage/                # Logs, compiled templates, file uploads
β”œβ”€β”€ tests/                  # Automated tests
└── vendor/                 # Composer dependencies

Getting Started

Prerequisites

  • PHP >= 8.2
  • Composer
  • Node.js & NPM
  • MySQL or other supported database

Installation

  1. Clone the repository:

    git clone https://github.com/DapCodes/CuanFlow.git
    cd CuanFlow
  2. Install dependencies:

    composer install
    npm install
  3. Environment Setup:

    cp .env.example .env
    php artisan key:generate

    Configure your database and API keys in .env.

  4. Run Migrations & Seeders:

    php artisan migrate --seed
  5. Build Assets:

    npm run build
  6. Start the Server:

    php artisan serve

Collaboration & Contribution

We welcome contributions to make CuanFlow even better!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Code Standards

  • Follow PSR-12 coding resulting using php artisan pint.
  • Ensure all tests pass using php artisan test.

License

Distributed under the MIT License. See LICENSE for more information.


Contact

Daffa Ramadhan Maulana
Email: daffaramadhan929@gmail.com
GitHub: DapCodes

Project Link: https://github.com/DapCodes/CuanFlow

About

πŸš€ OPEN SOURCE - Smart POS & Business Management System. designed to help small to medium-sized businesses manage their operations efficiently, from inventory and production to sales and financial reporting, enhanced with AI-driven insights.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors