IamBishal
EnterpriseFeatured

TRIAJA Digital Address Verification

Addresses verified from the doorstep. Privacy built in.

A rebuild of TRIAJA's address-verification platform: client and staff portals, a phone web app for candidates, QC with a 7-step checklist, verifiable PDF reports and DPDP privacy operations.

TRIAJA Digital Address Verification: the line 'Addresses verified from the doorstep. Privacy built in.' beside the real client portal's case list and the candidate app's privacy notice on a phone, on synthetic data
Role
Architect and sole engineer
Status
Active
Type
Client product · verification platform

Overview

The problem it solves

TRIAJA verifies where job candidates live for the companies hiring them. Its old address-verification app was an ageing PHP system. I planned and built its replacement end to end: discovery and decisions with the business, the architecture, the code, the security review, the user guides and the go-live runbook.

A client company raises a case, one at a time or from a CSV of up to 2,000 rows. The candidate gets a single-use link by SMS, email or WhatsApp, with automatic reminders on working days 2 and 4. On their phone they enter a one-time code, read a privacy notice and give consent, then fill in the address and take a selfie, a photo of an address proof and a photo of the door, each with the phone's location, and draw a signature. The candidate app is a separate, lightweight Angular app in English and Hindi, made for low-end phones on mobile data.

TRIAJA's QC team reviews each submission with a 7-step checklist, sees how far each photo was taken from the address on a map, and must black out an Aadhaar number before a case can be cleared. The decision produces a PDF report that is generated once, fingerprinted with SHA-256, stored encrypted and carries a QR code that opens a public check page. Around that sit credits and GST invoices, dashboards and Excel MIS exports watermarked with the person who downloaded them.

It is a Spring Boot 4 modular monolith on Java 25 with 14 modules whose boundaries are tested in the build, and PostgreSQL 18 where the app's database role owns no tables and row-level security keeps each client's data apart. Messages go through a transactional outbox, so a request never waits on SMS or email and nothing is lost or sent twice. Staff must use two-factor sign-in; sessions are cookies with a CSRF header; personal fields and files are encrypted; candidate data is redacted from logs; and every action is written to an append-only audit trail partitioned by month.

The platform is built for India's DPDP Act 2023: versioned notices and consent records, a rights page for candidates, retention with nightly erasure and erasure certificates, legal holds and a breach register. CI runs secret and dependency scans, Semgrep, a Trivy image scan, OWASP ZAP and a browser smoke test on every change. The screenshots on this page are the real app running on synthetic test data.

Topics

  • Background Verification
  • Privacy Engineering
  • DPDP Act
  • Security
  • Modular Monolith
  • Mobile Web

Highlights

What makes it different

  • Verified from the candidate's phone

    A single-use link, a one-time code, consent, then the address, photos with location and a drawn signature, in English or Hindi.

  • Seven checks before every decision

    QC works through identity, address proof, premises, location, period of stay, verifier and signature, with the distance from the address on a map.

  • Reports anyone can check

    Each report is generated once, fingerprinted with SHA-256 and carries a QR code that opens a public check page.

  • Clients kept apart by the database

    The app's role owns no tables and PostgreSQL row-level security scopes every query, so a missing filter can't leak another client's cases.

  • Privacy as working screens

    Notices and consent, rights requests, retention with nightly erasure and certificates, legal holds and a breach register.

  • Nothing lost, everything recorded

    A transactional outbox for every message and an append-only audit trail of every sign-in, view, download and change.

Features

What it can do

  • Client portal: cases one by one or by CSV bulk upload, with a status file for every row
  • Single-use candidate links by SMS, email or WhatsApp, reminders on working days 2 and 4, up to 3 manual re-sends
  • Candidate web app for phones: one-time code, notice and consent, address form, photos with GPS, signature
  • Candidate rights page for access, correction, erasure, grievance and nominee requests
  • QC queue and workbench with a 7-step keyboard-first checklist and approved remarks
  • Location checks: geocoding, distance from the address and a static map for QC and the report
  • Aadhaar masking on address proofs, required before a case can be cleared
  • PDF reports with SHA-256 fingerprints, a QR check page, single and ZIP downloads
  • Prepaid and postpaid credits, low-balance warnings, GST invoices and statements
  • Dashboards and one-month Excel MIS exports watermarked with the exporter
  • Retention and nightly erasure with certificates, legal holds and a breach register
  • Roles and permissions, mandatory two-factor for staff, append-only audit trail, go-live readiness page

Screens

A look inside

01Client portal: cases, links and bulk upload
02Candidate app: link, one-time code, consent
03QC workbench: the 7-step checklist
04A PDF report anyone can check
05Privacy operations: erasure, holds, breaches
06Roles, permissions and the audit trail

Tech stack

Built with

Backend
  • Java 25
  • Spring Boot 4
  • Spring Modulith
  • Spring Security
  • Flyway
Frontend
  • Angular
  • Gentryx UI Kit
  • Candidate app (en/hi)
Data
  • PostgreSQL 18
  • Row-level security
  • Monthly audit partitions
  • Encrypted file store
Security
  • TOTP two-factor
  • Argon2 passwords
  • AES-GCM field encryption
  • Bucket4j rate limits
  • Strict CSP
Messaging
  • Transactional outbox
  • ZeptoMail
  • TextLocal (DLT SMS)
  • Google Maps
Delivery
  • Docker
  • Caddy
  • DigitalOcean
  • GitHub Actions
  • Semgrep
  • Trivy
  • OWASP ZAP
  • Playwright

Architecture

How it fits together

One Spring Boot deployable with 14 tested module boundaries. Side effects are written in the request's transaction and handled by scheduled jobs; all core data stays in India.

Challenges

Hard problems along the way

  1. Rebuilding a live system safely

    The old app keeps running until go-live, so the rebuild started from discovery, a decisions register and a security baseline (OWASP ASVS Level 2), not a copy of its screens.

  2. Consent that would hold up

    The DPDP Act asks for itemised notices, recorded consent and erasure. Each became a versioned record or a scheduled job, not a policy document.

  3. Phones, not laptops

    Candidates open the link on low-end phones over mobile data, so the candidate app is a separate small bundle with no admin code in it.

  4. One client never sees another

    Scoping in services can be forgotten. Row-level security in PostgreSQL makes the database refuse it instead.

Results

The impact

Modules with tested boundaries
14
Documented API paths
115
Backend tests
224
Scheduled jobs, from outbox to erasure
8

What's next

On the roadmap

  1. WhatsApp invitations once the provider is chosen
  2. Photos and reports moving to AWS S3 in Mumbai
  3. UAT on its own servers, then go-live
  4. Load testing at ten times the expected volume

Bishal SahaLet's build together

Have a system to design, or an AI feature to get right?

Tell me about the problem. You'll get a clear, honest view of the best way forward.

  • Reply within 24 hoursOn business days, with my honest view and a next step.
  • Accepting select engagementsArchitecture, AI features and full builds.
  • Remote, worldwideWorking with startups, SMEs and enterprises.