// Web & Digital Applications•2021•VerifiedPersonal Project

Duit Gue

Personal Financial Bookkeeping & Cashflow Tracker

// FIGURE 01SYSTEM INTERFACE SPECIMEN
Duit Gue system interface
Duit Gue // Personal Financial Bookkeeping & Cashflow Tracker

Project at a Glance

  • Problem: Tracking personal daily cashflow across multiple income streams and expense categories in manual notes or generic spreadsheets makes it tedious to filter monthly spending, check net balances, and visualize financial trends.
  • Deliverables: A personal web bookkeeping application supporting Income (Transaction In) and Spending (Transaction Out) logging, real-time balance headers, multi-criteria transaction filtering, color-coded custom categories (Category Setting), Chart.js financial reports & exports, and per-user account settings.
  • Core Stack: Laravel 8, MySQL, Chart.js, Bootstrap, Blade, JavaScript.
  • Practical Value: Built solo as a practical 2021 personal finance tool that turns daily income and spending entries into structured, filterable ledgers and visual monthly/annual cashflow reports.

Project Overview

Duit Gue is a personal financial bookkeeping and cashflow tracking web application built solo in 2021 using Laravel 8, MySQL, Bootstrap, Blade, JavaScript, and Chart.js. Designed for fast everyday bookkeeping, it lets each authenticated user record incoming and outgoing transactions, organize entries under custom color-coded categories, filter history by date/month/year/category, and inspect consolidated income-versus-spending reports.

Interface Specimens

Duit Gue Transaction List showing live balance header, Income, Spending, and Different KPI cards, multi-criteria filter bar, and color-coded transaction table

Transaction Ledger (Transaction List): Quick + Add Income and - Add Spending actions, KPI summary cards (Income, Spending, Different), multi-criteria filter bar (Search, Date, Month, Year, Category), and itemized table with color-coded category badges and live totals.

Duit Gue Category Setting page showing custom categories with color swatches, active status, and direct Browse Transaction links

Category & Account Settings (Settings -> Category Setting): User profile, password management, and custom category configuration with color swatches, active status controls, and direct Browse Transaction drill-down links.

Context & The Problem

Personal budgeting tools are only useful when recording a transaction takes seconds and reviewing where money went requires zero manual spreadsheet formulas. Key practical requirements included:

  • Clear Cashflow Separation: Distinguishing Transaction In (Income) from Transaction Out (Spending) while always showing the live net balance (Different / navbar balance).
  • Flexible Period & Category Filtering: Allowing users to slice transactions by keyword, exact date, month, year, or category and immediately recalculate Income Total, Spending Total, and Final Total for that filtered view.
  • Personalized Categorization: Letting each user define their own categories (e.g., Profit Saham, Transportasi, Belanja, Makan) with distinct colors for instant visual scanning.
  • Actionable Reports: Presenting monthly and annual cashflow summaries through Chart.js visualizations and exportable reports.

System Architecture

Duit Gue follows a clean Laravel 8 MVC architecture backed by MySQL and enhanced with Chart.js on the reporting layer:

+-------------------------------------------------------------------+
|               Browser (Bootstrap + Blade + Chart.js)              |
|   Transaction List & Filters  |  Category Settings  |  Reports    |
+---------------------------------+---------------------------------+
                                  | HTTP Requests / Form Actions
+---------------------------------v---------------------------------+
|                      Laravel 8 Application Core                   |
|  +--------------------+  +------------------+  +---------------+  |
|  | Transaction &      |  | Custom Category  |  | Chart.js Data |  |
|  | Multi-Filter Logic |  | & Profile Mgmt   |  | & Reporting   |  |
|  +---------+----------+  +--------+---------+  +-------+-------+  |
+------------|----------------------|--------------------|----------+
             +----------------------+--------------------+
                                    | Eloquent ORM (User-Scoped)
+-----------------------------------v-------------------------------+
|                      Primary Database (MySQL)                     |
|         Users, Custom Categories (Colors/Status), Ledgers         |
+-------------------------------------------------------------------+

Architectural Decisions

  1. Laravel 8 MVC & Eloquent Scopes: Server-side query builders and Eloquent scopes cleanly combined optional filters (search, date, month, year, category) so the transaction list and summary totals (Income Total, Spending Total, Final Total) always stay derived from the exact same filtered query.
  2. User-Scoped Multi-Tenant Data Isolation: Every category and transaction record is scoped to the authenticated user_id via Laravel authentication middleware and query constraints, keeping each user's personal financial ledger strictly isolated.
  3. Chart.js Reporting Layer: Aggregated monthly and annual cashflow totals are computed in MySQL/Laravel and passed cleanly to Chart.js canvases for clear visual comparison of income versus spending over time.

Engineering Challenges & Solutions

1. Dynamic Multi-Criteria Filtering with Consistent Ledger Totals

Combining five independent filters (search query, day, month, year, and category) while keeping the KPI summary cards (Income, Spending, Different) and table footer totals accurate can easily drift if summary queries duplicate filter logic inconsistently.

  • Solution: Centralized filter query composition in Laravel so both the paginated/listed transactions and the Income Total / Spending Total / Final Total aggregations execute against a single cloned base query builder.

2. Custom Color-Coded Categories & Drill-Down Navigation

Allowing users to create, edit, and toggle custom categories with hex color badges while preserving historical transaction readability requires clean relational linking.

  • Solution: Linked transactions to user-owned category records via foreign keys and exposed direct Browse Transaction links from Category Setting that pre-apply the category filter on the Transaction List page.

Outcomes & Key Learnings

  • Built and published an open-source personal bookkeeping web app covering daily income/spending tracking, custom color-coded categories, multi-criteria filtering, Chart.js reporting, and user account management.
  • Strengthened practical Laravel 8 & MySQL query composition habits for dynamic filtering, aggregation consistency, and user-scoped data modeling.