[{"data":1,"prerenderedAt":394},["ShallowReactive",2],{"project-duit-gue":3},{"id":4,"title":5,"body":6,"description":242,"extension":380,"meta":381,"navigation":389,"path":390,"seo":391,"stem":392,"__hash__":393},"content\u002Fprojects\u002Fduit-gue.md","Duit Gue",{"type":7,"value":8,"toc":364},"minimark",[9,14,56,60,89,93,100,144,150,163,167,170,228,232,235,245,250,298,302,306,316,332,336,339,352,356],[10,11,13],"h2",{"id":12},"project-at-a-glance","Project at a Glance",[15,16,17,25,44,50],"ul",{},[18,19,20,24],"li",{},[21,22,23],"strong",{},"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.",[18,26,27,30,31,35,36,39,40,43],{},[21,28,29],{},"Deliverables:"," A personal web bookkeeping application supporting Income (",[32,33,34],"code",{},"Transaction In",") and Spending (",[32,37,38],{},"Transaction Out",") logging, real-time balance headers, multi-criteria transaction filtering, color-coded custom categories (",[32,41,42],{},"Category Setting","), Chart.js financial reports & exports, and per-user account settings.",[18,45,46,49],{},[21,47,48],{},"Core Stack:"," Laravel 8, MySQL, Chart.js, Bootstrap, Blade, JavaScript.",[18,51,52,55],{},[21,53,54],{},"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\u002Fannual cashflow reports.",[10,57,59],{"id":58},"project-overview","Project Overview",[61,62,63,64,67,68,71,72,71,75,71,78,71,81,84,85,88],"p",{},"Duit Gue is a personal financial bookkeeping and cashflow tracking web application built solo in ",[21,65,66],{},"2021"," using ",[21,69,70],{},"Laravel 8",", ",[21,73,74],{},"MySQL",[21,76,77],{},"Bootstrap",[21,79,80],{},"Blade",[21,82,83],{},"JavaScript",", and ",[21,86,87],{},"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\u002Fmonth\u002Fyear\u002Fcategory, and inspect consolidated income-versus-spending reports.",[10,90,92],{"id":91},"interface-specimens","Interface Specimens",[61,94,95],{},[96,97],"img",{"alt":98,"src":99},"Duit Gue Transaction List showing live balance header, Income, Spending, and Different KPI cards, multi-criteria filter bar, and color-coded transaction table","\u002Fimg\u002Fportfolio\u002Fduit-gue-transactions.jpg",[61,101,102],{},[103,104,105,106,109,110,113,114,117,118,71,121,71,124,127,128,71,131,71,134,71,137,71,140,143],"em",{},"Transaction Ledger (",[32,107,108],{},"Transaction List","): Quick ",[32,111,112],{},"+ Add Income"," and ",[32,115,116],{},"- Add Spending"," actions, KPI summary cards (",[32,119,120],{},"Income",[32,122,123],{},"Spending",[32,125,126],{},"Different","), multi-criteria filter bar (",[32,129,130],{},"Search",[32,132,133],{},"Date",[32,135,136],{},"Month",[32,138,139],{},"Year",[32,141,142],{},"Category","), and itemized table with color-coded category badges and live totals.",[61,145,146],{},[96,147],{"alt":148,"src":149},"Duit Gue Category Setting page showing custom categories with color swatches, active status, and direct Browse Transaction links","\u002Fimg\u002Fportfolio\u002Fduit-gue-categories.jpg",[61,151,152],{},[103,153,154,155,158,159,162],{},"Category & Account Settings (",[32,156,157],{},"Settings -> Category Setting","): User profile, password management, and custom category configuration with color swatches, active status controls, and direct ",[32,160,161],{},"Browse Transaction"," drill-down links.",[10,164,166],{"id":165},"context-the-problem","Context & The Problem",[61,168,169],{},"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:",[15,171,172,187,203,222],{},[18,173,174,177,178,180,181,183,184,186],{},[21,175,176],{},"Clear Cashflow Separation:"," Distinguishing ",[32,179,34],{}," (Income) from ",[32,182,38],{}," (Spending) while always showing the live net balance (",[32,185,126],{}," \u002F navbar balance).",[18,188,189,192,193,71,196,84,199,202],{},[21,190,191],{},"Flexible Period & Category Filtering:"," Allowing users to slice transactions by keyword, exact date, month, year, or category and immediately recalculate ",[32,194,195],{},"Income Total",[32,197,198],{},"Spending Total",[32,200,201],{},"Final Total"," for that filtered view.",[18,204,205,208,209,71,212,71,215,71,218,221],{},[21,206,207],{},"Personalized Categorization:"," Letting each user define their own categories (e.g., ",[32,210,211],{},"Profit Saham",[32,213,214],{},"Transportasi",[32,216,217],{},"Belanja",[32,219,220],{},"Makan",") with distinct colors for instant visual scanning.",[18,223,224,227],{},[21,225,226],{},"Actionable Reports:"," Presenting monthly and annual cashflow summaries through Chart.js visualizations and exportable reports.",[10,229,231],{"id":230},"system-architecture","System Architecture",[61,233,234],{},"Duit Gue follows a clean Laravel 8 MVC architecture backed by MySQL and enhanced with Chart.js on the reporting layer:",[236,237,243],"pre",{"className":238,"code":240,"language":241,"meta":242},[239],"language-text","+-------------------------------------------------------------------+\n|               Browser (Bootstrap + Blade + Chart.js)              |\n|   Transaction List & Filters  |  Category Settings  |  Reports    |\n+---------------------------------+---------------------------------+\n                                  | HTTP Requests \u002F Form Actions\n+---------------------------------v---------------------------------+\n|                      Laravel 8 Application Core                   |\n|  +--------------------+  +------------------+  +---------------+  |\n|  | Transaction &      |  | Custom Category  |  | Chart.js Data |  |\n|  | Multi-Filter Logic |  | & Profile Mgmt   |  | & Reporting   |  |\n|  +---------+----------+  +--------+---------+  +-------+-------+  |\n+------------|----------------------|--------------------|----------+\n             +----------------------+--------------------+\n                                    | Eloquent ORM (User-Scoped)\n+-----------------------------------v-------------------------------+\n|                      Primary Database (MySQL)                     |\n|         Users, Custom Categories (Colors\u002FStatus), Ledgers         |\n+-------------------------------------------------------------------+\n","text","",[32,244,240],{"__ignoreMap":242},[246,247,249],"h3",{"id":248},"architectural-decisions","Architectural Decisions",[251,252,253,282,292],"ol",{},[18,254,255,258,259,71,262,71,265,71,268,71,271,274,275,71,277,71,279,281],{},[21,256,257],{},"Laravel 8 MVC & Eloquent Scopes:","\nServer-side query builders and Eloquent scopes cleanly combined optional filters (",[32,260,261],{},"search",[32,263,264],{},"date",[32,266,267],{},"month",[32,269,270],{},"year",[32,272,273],{},"category",") so the transaction list and summary totals (",[32,276,195],{},[32,278,198],{},[32,280,201],{},") always stay derived from the exact same filtered query.",[18,283,284,287,288,291],{},[21,285,286],{},"User-Scoped Multi-Tenant Data Isolation:","\nEvery category and transaction record is scoped to the authenticated ",[32,289,290],{},"user_id"," via Laravel authentication middleware and query constraints, keeping each user's personal financial ledger strictly isolated.",[18,293,294,297],{},[21,295,296],{},"Chart.js Reporting Layer:","\nAggregated monthly and annual cashflow totals are computed in MySQL\u002FLaravel and passed cleanly to Chart.js canvases for clear visual comparison of income versus spending over time.",[10,299,301],{"id":300},"engineering-challenges-solutions","Engineering Challenges & Solutions",[246,303,305],{"id":304},"_1-dynamic-multi-criteria-filtering-with-consistent-ledger-totals","1. Dynamic Multi-Criteria Filtering with Consistent Ledger Totals",[61,307,308,309,71,311,71,313,315],{},"Combining five independent filters (search query, day, month, year, and category) while keeping the KPI summary cards (",[32,310,120],{},[32,312,123],{},[32,314,126],{},") and table footer totals accurate can easily drift if summary queries duplicate filter logic inconsistently.",[15,317,318],{},[18,319,320,323,324,326,327,326,329,331],{},[21,321,322],{},"Solution:"," Centralized filter query composition in Laravel so both the paginated\u002Flisted transactions and the ",[32,325,195],{}," \u002F ",[32,328,198],{},[32,330,201],{}," aggregations execute against a single cloned base query builder.",[246,333,335],{"id":334},"_2-custom-color-coded-categories-drill-down-navigation","2. Custom Color-Coded Categories & Drill-Down Navigation",[61,337,338],{},"Allowing users to create, edit, and toggle custom categories with hex color badges while preserving historical transaction readability requires clean relational linking.",[15,340,341],{},[18,342,343,345,346,348,349,351],{},[21,344,322],{}," Linked transactions to user-owned category records via foreign keys and exposed direct ",[32,347,161],{}," links from ",[32,350,42],{}," that pre-apply the category filter on the Transaction List page.",[10,353,355],{"id":354},"outcomes-key-learnings","Outcomes & Key Learnings",[15,357,358,361],{},[18,359,360],{},"Built and published an open-source personal bookkeeping web app covering daily income\u002Fspending tracking, custom color-coded categories, multi-criteria filtering, Chart.js reporting, and user account management.",[18,362,363],{},"Strengthened practical Laravel 8 & MySQL query composition habits for dynamic filtering, aggregation consistency, and user-scoped data modeling.",{"title":242,"searchDepth":365,"depth":365,"links":366},2,[367,368,369,370,371,375,379],{"id":12,"depth":365,"text":13},{"id":58,"depth":365,"text":59},{"id":91,"depth":365,"text":92},{"id":165,"depth":365,"text":166},{"id":230,"depth":365,"text":231,"children":372},[373],{"id":248,"depth":374,"text":249},3,{"id":300,"depth":365,"text":301,"children":376},[377,378],{"id":304,"depth":374,"text":305},{"id":334,"depth":374,"text":335},{"id":354,"depth":365,"text":355},"md",{"subtitle":382,"slug":383,"client":384,"year":385,"role":386,"category":387,"technologies":388},"Personal Financial Bookkeeping & Cashflow Tracker","duit-gue","Personal Project",2021,"Solo Fullstack Developer","Web & Digital Applications",[70,74,87,77,80,83],true,"\u002Fprojects\u002Fduit-gue",{"title":5,"description":242},"projects\u002Fduit-gue","z7xCL4uOXwupBc1uZ8VzBQva3JeBirOLe-vvJFA8GW4",1796006984023]