Skip to main content
SYSTEM ARCHITECTURE • FEATURES • SUPERVISOR TUTORIAL

Dorcas Beneficiary Registration & MEAL Platform

An enterprise bilingual platform engineered for humanitarian operations: household registry, real-time duplicate blocking, Donor-to-Activity governance, multi-session cohort attendance, community distributions, and Donor-scoped MEAL reporting.

.NET 10 Web API React 19 + TypeScript PostgreSQL 16 + EF Core 10 Nginx + Docker Compose Entra ID + Local JWT Bilingual EN / AR (RTL)
SYSTEM ARCHITECTURE

3-Container Stack Behind Host Nginx + Certbot

Click any node in the diagram or select a layer tab to inspect how traffic flows from the browser through HTTPS Nginx, the .NET 10 API, and PostgreSQL 16.

LAYER 1 • CLIENT React 19 SPA Vite 8 + Tailwind v4 EN (LTR) / AR (RTL) HTTPS Browser LAYER 2 • PROXY Nginx + Certbot TLS 443 → 127.0.0.1:8088 Serves SPA dist/ /api/* → api:8080 LAYER 3 • API .NET 10 Web API RBAC Policies + Auth EF Core 10 + ClosedXML Audit Interceptor LAYER 4 • DATA PostgreSQL 16 Docker Volume: pgdata Soft Deletes + Indexes Auto-Migrate + Seed dorcas.phoenixdev.com.sy (HTTPS) → Host Nginx → Docker web (127.0.0.1:8088) → Docker api (8080) → Docker db (5432)
DOMAIN ARCHITECTURE

Donor → Framework Output → Activity Workflow

Every service in the system originates from a Donor and maps to a MEAL Framework Output, Category, and Delivery Modality — cleanly separating Multi-Session Programs from One-Time Community Activities.

1

Donor

Funding partner (e.g., DRA, UNICEF, UNHCR) defining reporting scope and funding attribution across all outputs and exports.

2

Framework Output & Category

Each Donor owns measurable Framework Outputs (e.g., OP-1.1, OP-2.1) combined with Activity Categories (Food Security, Child Protection, Health).

3

Activity Definition (RBAC)

Configured in Settings with Modality: Center-Based (registered linkage required) or Mobile Team (walk-ins allowed after duplicate check).

4

Program or One-Time Delivery

Delivered either as a Multi-Session Cohort (Waitlist → Sessions → Attendance Sheet) or a One-Time Activity (Named List or 10-band SADD Headcount).

Center-Based Activities

Registered Required
  • Strictly requires linking an existing registered Family or Individual from the Registry.
  • Unregistered walk-in participant creation is automatically disabled in the UI and rejected by API validation.
  • Ideal for Food Baskets, Cash Assistance, Vocational Training, and Child PSS Cohorts.

Mobile Team / Outreach Activities

Duplicate-Guarded Walk-Ins
  • Supports unregistered walk-in beneficiaries in field clinics or mobile outreach campaigns.
  • Enforces a live National ID & Phone check before saving: if a registered beneficiary matches, blocks duplicate entry and offers 1-click "Link Registered Person".
  • Supports Aggregated Headcount mode with 10 Age/Gender SADD bands plus additive PwD counts.
KEY CAPABILITIES

Platform Features

01

Household & Member Registry

Complete family intake covering HoH details, 4-level materialized geographic locations, housing condition, phone, national ID, and document types.

02

Washington Group PwD Disability Scale

Tracks functional difficulty levels per family member alongside health conditions, education, and employment status.

03

Unified Programs & Activities Hub

One workspace combining Waitlist / Requests, Multi-Session Attendance Cohorts, and One-Time Community Activities & Distributions.

04

Cohort Sessions & Print All Sheets

Edit, reschedule, cancel, or delete sessions, add topic notes, enroll walk-ins directly, and print either single-session or full-cohort attendance sheets.

05

Live Duplicate Guard for Walk-Ins

Real-time National ID and phone number check prevents double-counting unregistered individuals when they already exist in the family registry.

06

10-Band Age/Gender + Additive PwD

Aggregated Headcount breaks down Female/Male across <5, 5–11, 12–17, 18–59, and 60+, plus additive PwD counts added to total individuals reached.

07

Donor Dashboards & ClosedXML Exports

Interactive Analytics filterable by Donor & Output with clean styled multi-sheet Excel exports generated server-side via ClosedXML.

08

Audit Trail, Recycle Bin & Center Scoping

Every mutation is logged by AuditSaveChangesInterceptor, deletions are soft-recoverable from the Recycle Bin, and Registrars are scoped to their Center.

SECURITY & GOVERNANCE

Role-Based Access Control (RBAC) Matrix

Enforced on every ASP.NET Core controller endpoint and mirrored cleanly in frontend navigation and route guards.

Module / Capability Registrar Supervisor MEAL Officer System Admin
Center Visibility Scope Assigned Center Assigned Center All Centers All Centers
Register & Edit Families Allowed Allowed Read Only Allowed
Waitlist, Cohorts & Activities Allowed Allowed Oversight / Read Allowed
Reports & Excel Export Restricted Allowed Allowed Allowed
Soft Delete & Recycle Bin Restricted Allowed Restricted Allowed
Global Audit Logs Restricted Restricted Allowed Allowed
Donors, Outputs, Activities & Staff RBAC Restricted Restricted Outputs & Lookups Full Control
HANDS-ON WALKTHROUGH

Step-by-Step Demo & Supervisor Tutorial

Follow these 7 guided steps on the live demo environment. Your completion progress is saved automatically in your browser.

Live Demo URL
dorcas.phoenixdev.com.sy
System Admin (1-Click / Manual)
admin / DemoAdmin#2026
Registrar — Aleppo Center (ALP)
registrar / DemoReg#2026
Duplicate-Check Test ID / Phone
01010101011 / 0999111222
0 / 7 steps completed
1

Sign In & Verify Center-Scoped RBAC

Open the live demo and click the 1-click Registrar (@registrar) account. Notice the sidebar is scoped to Aleppo Central Center (ALP) and hides Settings & Audit Log. Then sign out and click System Admin (@admin) to unlock all centers and Governance modules.

2

Explore Donors, Framework Outputs & Activities in Settings

Navigate to Settings & RBAC → Donors & Activities. Inspect seeded Donors (DRA, UNICEF, UNHCR), their Framework Outputs (OP-1.1 .. OP-3.2), and how each Activity is configured with a Category and Modality (Center-Based vs Mobile Team).

3

Register a Family & Review Beneficiary Profiles

Open Families Directory or Register Family. Test adding a household with a 4-level location, family documents, and members with Washington Group PwD ratings, then view the full Family Profile timeline.

4

Manage Multi-Session Cohorts & Print All Sessions

Go to Programs & Activities → Multi-Session Attendance. Open the Child PSS Cohort, search participants, mark session attendance, edit/reschedule a session with topic notes, try Direct Walk-In Enrollment, and click Print All Sessions for a clean printable cohort attendance book.

5

Test Center-Based Restriction & Mobile Duplicate Guard

Under One-Time Activities, open the Center-Based Food Distribution (unregistered walk-in entry is blocked). Then open Mobile Health Day and attempt to add an unregistered walk-in using National ID 01010101011 or phone 0999111222.

Expected result: The system immediately detects Head of Household Ahmad Mohammad Al-Khatib in the registry and offers 1-click "Link Registered Person" instead of creating a duplicate.
6

Verify 10-Band Age/Gender + Additive PwD Headcount

Open the Child Protection Awareness Day (Aggregated Headcount mode). Review the 10 Gender/Age categories (<5, 5–11, 12–17, 18–59, 60+ for Female & Male) and verify that PwD counts add onto non-PwD counts in the grand total.

7

Filter Donor Analytics & Export Excel Reports

Open Analytics to filter reach figures by Donor (DRA / UNICEF / UNHCR) and inspect By Donor and By Framework Output tables. Then open Reports & Export to download a Donor-filtered multi-sheet Excel workbook.

ABOUT PHOENIXDEV

Engineered & Supported by PhoenixDev

PhoenixDev Logo
PhoenixDev
We engineer digital transformation.

PhoenixDev builds reliable, audit-ready humanitarian and enterprise platforms with modern .NET and React architectures, clean bilingual RTL/LTR UX, and disciplined security controls.

#FF6600
#00F2FF
#0B3C5D
#F2F4F7
#0E131F
Copied!