Digital Lending Portal
A loan decision you can explain later.
A blueprint for a borrower and underwriter portal where every document check and every decision leaves a readable trail.
The decision exists. The reason for it is scattered across three inboxes. Without a shared system, a borrower uploads the same bank statement twice, an underwriter rekeys figures from a PDF into a spreadsheet, and when an auditor asks why an application was declined, someone has to rebuild the story by hand.
Who it is for
Lenders and credit teams moving small-business or consumer loans off email and spreadsheets, where a decision may need explaining to a customer, an auditor or a regulator long after it was made.
- Borrowers applying from a phone between jobs
- Underwriters working a daily queue
- Compliance reviewers answering questions months later
What it sets out to do
- Give borrowers one place to apply, upload and see what is still needed.
- Give underwriters a queue where every document check is recorded against the application.
- Make any decision explainable from the record alone: who, on what evidence, under which policy version.
- Keep the application usable on a phone, where many small-business owners would start it.
$4.99M
global average cost of a data breach
A record high and a 12% increase on the previous year. Security decided late is the most expensive kind.
Source: IBM Cost of a Data Breach Report 2026 (opens in a new tab)The main screens
Drawn to show how each screen works, not captured from a live product.
Architecture
How the pieces fit
The layers separate what a person sees from what the lender must be able to prove. The decision log sits below the API, so no screen can rewrite it.
Angular · NestJS · PostgreSQL · Playwright
- L1 ExperienceBorrower portalUnderwriter consoleAngularTwo role-specific apps sharing form rules, so a field validated for the borrower is validated the same way for staff.
- L2 API and accessNestJS APIRole guardsSession auditEvery route declares the role it needs; a missing declaration fails the build.
- L3 Lending domainApplication state machinePolicy rulesDocument checksAn application can only move along allowed transitions, each one recorded.
- L4 RecordsPostgreSQLAppend-only decision logEncrypted object storageDecisions are inserted, never updated. Corrections are new entries that reference the old one.
- L5 Quality gatePlaywright journeysContract testsAccess-rule testsRole boundaries get their own tests, since a leak there is the failure that matters most.
Build order
How we would build it
A lending portal is best built one complete loan journey at a time, with underwriters reviewing working software rather than specifications.
Map the decision
Agree the application states, who can move between them and what evidence each move needs.
Living document checklist
Each requirement shows received, in review or needs replacing, with the reason in plain language.
Underwriter queue
Applications sorted by age and completeness, with a claim step so two people never work one file.
Decision trail
A readable timeline of who did what, on which evidence, under which policy version.
Versioned policy rules
A rule change never rewrites the history of decisions made under the previous version.
Field-level role rules
Sensitive identity fields stay masked unless the role and the task both call for them.
More blueprints
All blueprintsNeed a lending flow that stands up to audit?
Tell us how your credit decisions are made today. We will talk through where a portal and a proper decision trail would help, and where they would not.