← WorkSC.07 / 09

Legal-Tech Review

Document review platform

Role
Full-Stack Developer
Context
Tekab.dev
Period
2023
Legal Support Tech sign-in page with the platform welcome message
Live app, captured Nov 2026 (sign-in page; the app requires an account).Fig. 07

01 — Overview

A secure platform for reviewing legal documents, with annotations and fine-grained permissions.

The challenge

Sensitive legal data: every access must be justified, logged and protected, and the system must survive an external security audit.

Stack

  • Nest.js
  • PostgreSQL
  • TypeScript
  • RBAC
  • PDF annotations

02 — Architecture

What I built, layer by layer.

  • ■ Interface
  • ■ API & logic
  • ■ Data
  • □ Cloud & delivery
  • ■ Quality & security
  1. InterfaceReview dashboardAPI & logicNest.js REST API
  2. API & logicNest.js REST APIDataPostgreSQL
  3. API & logicNest.js REST APIQuality & securityMonitoring
  4. Quality & securityStagingAPI & logicNest.js REST API
Interface
Document review dashboard with dynamic tables and PDF annotations.
API & logic
Nest.js REST API, authentication, role-based access, CSRF/XSS protection.
Data
PostgreSQL schema and access policies, versioned migrations, indexes, transactions, EXPLAIN tuning.
Quality & security
Error tracking, logs, alerts, incident handling; security audit fixed and retested.

03 — What I did

  1. 01

    Built the Nest.js REST API, authentication and PostgreSQL data layer, with role-based access control and CSRF/XSS protection.

  2. 02

    Designed the PostgreSQL schema and access policies, with versioned migrations, indexes, transactions and query-plan (EXPLAIN) tuning.

  3. 03

    Set up error tracking, logging and alerts, handled production incidents, and prepared a staging environment for a security audit, then fixed the confirmed findings and supported the retest.

  4. 04

    Built the document review dashboard with dynamic data tables and PDF annotations.

04 — Results

  • Security audit findings fixed and retested

On a phone · same build, live site

Legal-Tech Review, mobile
Next project · SC.08Survey Engine →