Enterprise-Grade Full-Stack Household Productivity Platform & Gamified Reward Engine
A modern, responsive full-stack web application engineered to streamline family household coordination, enforce accountability, and motivate children through auditable points ledgers and gamified rewards.
Watch the full walkthrough demonstration featuring user registration, dual-role workflows, the Kanban chore board, real-time points ledger transactions, dynamic family leaderboard, and Chart.js analytics.
maple_walkthrough_demo.mp4
🎬 Walkthrough Chapters:
- Role-Based Authentication & Session Security: Strict role separation with Angular 17 Signals state hydration and Bcrypt cryptographic hashing.
- Parent Command Center & Household Metrics: Executive KPIs for completed chores, active streaks, points in circulation, and Chart.js momentum charts.
- Interactive 4-Stage Kanban Chore Board: Visual task progression across Not Started, In Progress, Submitted, and Approved columns with point valuations.
- Gamified Rewards Catalog & Anti-Double Spend: Parent-curated incentives backed by mathematical ledger verification to prevent overdrafts.
- Dynamic Family Leaderboard & Gamified Podium: Olympic gold/silver/bronze podium rankings, consistency streaks, and velocity sparklines.
- Chart.js Visual Intelligence & Performance Analytics: 7-day completion output, points equity distributions, and top chore volume matrix.
- Mobile Responsive Layout & Append-Only Financial Ledger: Adaptive 375px mobile experience with immutable double-entry points accounting.
| Login & Authentication | Parent Executive Dashboard | Kanban Chore Board |
|---|---|---|
![]() |
![]() |
![]() |
| Rewards Catalog Manager | Family Leaderboard | Analytics & Insights |
|---|---|---|
![]() |
![]() |
![]() |
Maple is a family task management app built for households where parents and children collaborate on chores. Parents create chores with point values, children complete them, and parents approve submissions to award points. Points can be redeemed for rewards — all tracked in a real-time leaderboard with analytics.
Built from scratch as a full-stack application with Angular 17 (frontend) and PHP 8.4 (backend) — no bloated third-party frameworks, no heavy scaffolds. Every line of the router, ORM layer, and authentication system is custom-crafted for reliability and speed.
- Role-Based Access Control — Parents manage chores, approve submissions, and curate rewards; children complete assignments and redeem points.
- Append-Only Financial Ledger — Every point change is recorded as an immutable
points_transactionsentry. Balances are calculated dynamically viaSUM(delta). No mutable balances, zero race conditions, full audit trail. - Real-Time Reactive Feedback — Angular Signals propagate state updates instantly across dashboards, kanban boards, and navigation headers.
- Household-Scoped Multi-Tenancy — Clean data isolation scoped by household IDs with unique family invite codes.
- Secure session-based authentication using PHP native sessions and Bcrypt password hashing.
- Register as parent, create a household, and share secure invite codes with family members.
- Instant login redirect to role-tailored dashboards (
parentvs.child).
- 4-Stage Kanban State Machine:
Not Started➔In Progress➔Submitted➔Approved. - Create and edit chores with titles, point weights, categories, and due dates.
- Assign chores to specific children with real-time status transitions.
- Children submit completed chores along with completion notes.
- Parents review submissions in a dedicated Approvals Queue.
- Approving awards points immediately; rejecting returns feedback so the child can address deficiencies.
- Parent-managed reward catalog (full CRUD).
- Children browse available rewards with dynamic affordability indicators.
- Strict double-spend protection validates point balances at both frontend and backend before approving redemptions.
- Family podium highlighting top performers with medals (🥇🥈🥉).
- Weekly velocity sparklines showing 7-day contribution momentum.
- Contextual "YOU" indicator distinguishing the logged-in family member.
- Weekly Chore Activity: Bar chart tracking household completions by day.
- Top Completed Chores: Horizontal bar breakdown by task popularity.
- Points Breakdown: Doughnut chart showcasing point contributions across all members.
- Curated Palette: Deep Teal (
#0F766E), Warm Amber (#F59E0B), and Slate neutrals designed in Figma. - Adaptive Breakpoints: 375px (mobile), 768px (tablet), 1440px (desktop).
- Accessible State Handling: Standardized loading skeletons, informative empty states, and toast notifications.
┌────────────────────────────────────────────────┐
│ BROWSER (localhost:4200) │
│ │
│ Angular 17 Single-Page Application (SPA) │
│ • Standalone Components │
│ • Angular Signals for Reactive State │
│ • Route Guards & Credentials Interceptors │
│ • Chart.js for Data Visualizations │
└──────────────────────┬─────────────────────────┘
│ HTTP + Cookies (SameSite=Lax, HttpOnly)
▼
┌────────────────────────────────────────────────┐
│ PHP REST API (localhost:8000) │
│ │
│ Router → Controllers → Services → Models │
│ • AuthController (Sessions + Bcrypt) │
│ • HouseholdController (Multi-tenancy) │
│ • ChoreController & AssignmentController │
│ • CompletionController (Verification Gate) │
│ • RewardController & RedemptionController │
│ • LeaderboardController & AnalyticsController │
│ • PointsService (Atomic Double-Entry Ledger) │
└──────────────────────┬─────────────────────────┘
│ PDO Prepared Statements
▼
┌────────────────────────────────────────────────┐
│ MySQL 8.0 (InnoDB) │
│ │
│ users · households · household_members │
│ chores · chore_assignments · chore_completions│
│ rewards · reward_redemptions │
│ points_transactions · notifications │
└────────────────────────────────────────────────┘
- Append-Only Ledger for Points: Every point allocation or redemption is a discrete row in
points_transactions. Balances are calculated dynamically usingSELECT SUM(delta) WHERE user_id = ?. Eliminates balance desynchronization and maintains a full audit log. - Session-Based Authentication: Employs secure, HTTP-only session cookies with
SameSite=Laxinstead of vulnerable localStorage JWTs. - Angular Signals: Replaced traditional RxJS state boilerplate with fine-grained Angular 17 Signals for high performance and clean reactive code.
- Role-Based Authorization: Permissions are verified at the database level per household membership (
parentorchild).
- Node.js:
20.xor higher — Download - PHP:
8.4+(withpdo_mysqlextension) —brew install phpor php.net - MySQL:
8.0+— XAMPP, Homebrew, or MySQL installer - Composer:
2.x— getcomposer.org - Angular CLI:
npm install -g @angular/cli
git clone https://github.com/snaimio/maple.git
cd maplecomposer install
cp .env.example .env
# Edit .env with your local MySQL credentials# Create database
mysql -u root -e "CREATE DATABASE IF NOT EXISTS maple CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
# Execute sequential migrations (001 through 010)
for f in migrations/*.sql; do mysql -u root maple < "$f"; done
# Seed realistic demo family data
php seeders/demo_family.phpPre-Loaded Demo Accounts:
| Role | Password | Context | |
|---|---|---|---|
| Parent | alex@maple.test |
password123 |
Full admin privileges, approval queue, analytics |
| Child | jamie@maple.test |
password123 |
Assigned chores, active points, reward redemption |
# Terminal 1 — Start PHP Backend
php -S localhost:8000 -t public
# Terminal 2 — Start Angular Frontend
cd frontend && npm install && npm startOpen http://localhost:4200 in your browser to access the login page.
maple/
├── demo/ # Walkthrough demo video & media assets
│ ├── Maple_Demo.mp4 # Full HD walkthrough demo video (Voice Narration & Audio)
│ ├── maple_demo_preview.gif # 16-second animated looping preview GIF
│ └── thumbnail.png # High-resolution video presentation thumbnail
├── frontend/ # Angular 17 Single-Page Application
│ └── src/app/
│ ├── core/ # Guards, interceptors, models, services
│ ├── features/ # Feature domains:
│ │ ├── auth/ # Split-screen login & registration
│ │ ├── household/ # Household creation & invite onboarding
│ │ ├── dashboard/ # Adaptive parent & child dashboards
│ │ ├── chores/ # 4-column Kanban board & chore modal
│ │ ├── completions/ # Parent verification & approvals queue
│ │ ├── rewards/ # Rewards store & catalog manager
│ │ ├── leaderboard/ # Dynamic family podium & sparklines
│ │ └── analytics/ # Chart.js data visualizations
│ └── app.config.ts # Application providers & routing setup
├── public/ # Public web root
│ └── index.php # Front controller & request router
├── src/ # Backend core architecture (PSR-4 Maple\)
│ ├── Controllers/ # REST API endpoints
│ ├── Core/ # Framework engine: Router, Database, Auth, Request, Response
│ └── Services/ # Domain logic (Atomic PointsService ledger)
├── migrations/ # 10 sequential SQL migrations (001–010)
├── seeders/ # Seed data scripts (demo_family.php)
├── docs/ # Documentation, API contracts, ERD & screenshots
│ ├── API_CONTRACT.md # REST API response specification
│ ├── erd.dbml # Database schema & entity relationships
│ └── screenshots/ # Real application interface screenshots
├── composer.json # Composer dependencies & PSR-4 mapping
├── LICENSE # MIT License
└── README.md # Project documentation
| Layer | Technologies & Tools |
|---|---|
| Frontend Framework | Angular 17 (Standalone Components, Signals, Control Flow Syntax) |
| Language | TypeScript 5.x (Strict Type-Checking Enabled) |
| Data Visualization | Chart.js 4.x + ng2-charts |
| Backend Engine | PHP 8.4 (Framework-free, Lightweight Custom REST Router, PSR-4 Autoloading) |
| Database | MySQL 8.0 (InnoDB Engine, Foreign Key Constraints, Transactions) |
| Authentication | Session-based cookies (HttpOnly, SameSite=Lax), Bcrypt password hashing |
| Tooling & Build | Angular CLI, NPM, Composer, Git |
This project is licensed under the MIT License — see the LICENSE file for complete details:
MIT License
Copyright (c) 2026 Sheikh Naim
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Sheikh Naim
- GitHub: @snaimio
- Portfolio: snaimio.github.io
- LinkedIn: linkedin.com/in/snaimio







