• 2 min read

Zero-PII Blue-Collar Trust Platform (Backend)

FastAPI Python SQLAlchemy Async JWT Zero-PII PostgreSQL

Summary

The Zero-PII Neighborhood Blue-Collar Trust Platform Backend is an asynchronous API engine engineered to solve the trust deficit between homeowners, village associations, and informal blue-collar service workers (electricians, plumbers, carpenters, cleaners) in Philippine residential communities.

Rather than storing sensitive personal documents (such as government IDs, home addresses, or NBI clearances), the platform implements a Zero-PII verification architecture: it validates claims against simulated government attestation endpoints and stores only cryptographic hashes, public reputation signals, and dynamic TrustScores.


Homepage & Feature Highlights

  • Dynamic TrustScore Engine (0–100): Computes multi-factor trust ratings based on completed jobs, client ratings, biometric attendance, and eGov verification credentials.
  • Cryptographically Signed Gate Passes: Issues tamper-proof, time-bounded JWT QR passes (RFC 7518) that security guards at subdivision checkpoints can verify offline in under 100ms.
  • Zero-PII Verification Model: Stores cryptographic attestation proofs and HMAC verification tokens without ever persisting raw Philippine Identification System (PhilSys) data.
  • Async Performance: Powered by FastAPI, SQLAlchemy 2.0 (async), and PostgreSQL with automated connection pooling and sub-5ms API latency.

High-Level Architecture

High-Level Architecture