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.
- 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.
- 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.
- 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.
- Interactive AI: Chat with Clara to ask about your business performance, get advice, or navigate the system.
π 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:
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
- PHP >= 8.2
- Composer
- Node.js & NPM
- MySQL or other supported database
-
Clone the repository:
git clone https://github.com/DapCodes/CuanFlow.git cd CuanFlow -
Install dependencies:
composer install npm install
-
Environment Setup:
cp .env.example .env php artisan key:generate
Configure your database and API keys in
.env. -
Run Migrations & Seeders:
php artisan migrate --seed
-
Build Assets:
npm run build
-
Start the Server:
php artisan serve
We welcome contributions to make CuanFlow even better!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow PSR-12 coding resulting using
php artisan pint. - Ensure all tests pass using
php artisan test.
Distributed under the MIT License. See LICENSE for more information.
Daffa Ramadhan Maulana
Email: daffaramadhan929@gmail.com
GitHub: DapCodes
Project Link: https://github.com/DapCodes/CuanFlow