Skip to content
Back to portfolio

Data Platform

Live in production

Phone Vault

Bulk phone-number dedup & vendor-delivery tracking

  • ~1M-row uploads
  • Layered Go architecture
  • Three-tier dedup pipeline

Overview

Phone Vault is a data-operations platform built by Esparks IT Solutions to turn bulk vendor CSV and Excel uploads into one clean, deduplicated phone-number master list.

A Go/Gin API normalizes every number to real E.164 format with a genuine phone-number parsing library, then runs a three-tier deduplication check — within the uploaded file, against the master dataset, and against what that vendor has delivered before — before anything is migrated out of staging. The Next.js dashboard covers upload, staged review, vendor management, and date-ranged per-vendor reporting with CSV export. The stack is intentionally simple: a single Go API, a single Next.js frontend, and PostgreSQL as the only datastore, run via Docker Compose behind Nginx.

The problem

A folder of vendor CSVs isn't a clean phone list.

01

The same number arrives twice.

Without cross-referencing against what was already delivered, a vendor gets credited again for a number they sent last month.

02

Formatting is never consistent.

One file has +91, another has a leading 0, another has spaces — comparing numbers as plain strings misses obvious duplicates.

03

Nobody can prove what was reviewed.

Without a staging step, duplicate or bad rows get mixed into the master list with no way to tell which upload they came from.

A dedup pipeline that doesn't actually normalize phone numbers first isn't a dedup pipeline — it's a false sense of security.

Outcomes

Why it matters

What changes once it is running

Three-tier dedup, not one.

Within-file, against the master list, and against what a vendor has already delivered — each checked separately.

Real E.164 normalization.

Built on a genuine phone-number parsing library, not a strip-non-digits shortcut, so formatting differences never hide a duplicate.

Nothing skips staging.

Every upload is categorized before it can reach the master table, and migration into it is an explicit, reviewable action.

Handles real file sizes.

Chunked, cancelable uploads and extended request timeouts, sized for uploads in the hundreds of thousands of rows.

Vendor accountability built in.

A per-vendor report shows exactly how many of their delivered numbers were actually new.

Phone Vault - Main showcase

Capabilities

Key capabilities

What we designed, built and shipped.

  1. 01

    Bulk CSV & Excel upload, chunked and cancelable, with real-time progress

  2. 02

    Real E.164 phone normalization (libphonenumber), not string stripping

  3. 03

    Three-tier dedup: within-file, against master, against vendor history

  4. 04

    Staging → master review flow with per-vendor duplicate/dispute reporting

Stack

Technology stack

Each layer, the technology behind it, and why it was chosen.

LayerTechnologyWhy
APIGo 1.25 + GinLow-memory footprint for high-volume file processing
WebNext.js 15 + React 18Dashboard for uploads, review, vendors and reports
DatabasePostgreSQL 17Single datastore; schema applies idempotently on boot
Phone parsinglibphonenumber (Go port)Real E.164 normalization, not string stripping
Excel handlingexcelizeGenuine .xlsx parsing, converted to CSV before processing
AuthJWT access + refresh tokens over bcryptStateless sessions sized for an internal tool
DeploymentDocker Compose, Nginx-frontedContainers bind to localhost only in production
Loggingzap (structured, Go)Structured logs instead of unstructured console output

Architecture

A simple pipeline, on purpose

One API, one database — every upload is normalized and checked in three passes before it can reach the master table.

Phone Vault architecture diagram: users on a phone or desktop browser reach the Next.js 15 / React 18 web dashboard over HTTPS to upload phone lists, review duplicates and view reports. The dashboard calls the Go 1.25 + Gin API over HTTPS (REST) with JWT access and refresh tokens; passwords are hashed with bcrypt. The API talks SQL over a private network to PostgreSQL 17, which holds the master table, staging tables and vendor delivery history, with the schema applied idempotently on boot. Inside the API, each upload goes through a pipeline: 1) upload a CSV, Excel or text file, 2) normalize numbers to E.164 with libphonenumber, 3) three deduplication passes — within the uploaded file, against the master list, and against that vendor's delivery history — and 4) store only unique, normalized numbers in the master table. Key characteristics: one API and one database with no cache, queue or third-party service; HTTPS, JWT and bcrypt; accurate E.164 numbers; three-tier dedup; upload, review and detailed reports on the dashboard; and an auto-applied schema.
Every uploaded file is parsed in-process, normalized to E.164, and run through the three-tier dedup pipeline before anything touches the master table in PostgreSQL — the product's only datastore.

How it works

From a vendor file to a clean master list

  1. Step 01

    Upload a vendor file

    CSV or Excel, in parallel chunks, with cancelable progress.

  2. Step 02

    Numbers get normalized

    Every number is parsed to E.164 before anything else happens.

  3. Step 03

    Three dedup checks run

    Within-file, against master, against that vendor's history.

  4. Step 04

    Review in staging

    Results are categorized as unique, self-duplicate, master-duplicate or vendor-duplicate.

  5. Step 05

    Migrate to master

    Reviewed unique rows move into the authoritative list, individually or as a group.

  6. Step 06

    Report and export

    Pull a per-vendor report or export any result set to CSV.

Deployment

How it runs

Self-hosted via Docker Compose.

The API, web app and database each run in their own health-checked container, with production containers bound to localhost behind an Nginx TLS reverse proxy.

Operational details

  • Docker Compose — API, web and Postgres each in their own health-checked container
  • Idempotent schema-on-boot — no separate migration step to run or forget
  • Standalone CLI tools: a phone-number backfill/normalize utility and a one-time legacy-database migrator
  • Extended request timeouts and a slowloris guard, sized for large file uploads

Feature guide

Everything the platform does

Phone Vault turns a folder of vendor CSV and Excel exports into one clean, deduplicated master list — with a record of who delivered which number, and whether it was actually new. Here is everything the platform does.

Ingestion & dedup

From raw vendor files to a clean master list

Bulk upload, real phone normalization, and three-tier deduplication — nothing reaches the master table without being checked.

Bulk upload

  • Chunked, cancelable uploads. Large CSV and Excel files upload in parallel chunks with live progress, and a running upload can be canceled mid-flight.
  • Real Excel parsing. Uploaded workbooks are converted and parsed with a real Excel library, not assumed to already be CSV.

Three-tier deduplication

  • Within-file duplicates. Repeats inside the same upload are caught before anything is written.
  • Against the master list. Every number is checked against the authoritative, deduplicated master dataset.
  • Against vendor history. A per-vendor delivery index remembers what each vendor has already sent, so re-deliveries are flagged, not re-billed.

Real phone normalization

  • E.164 everywhere. Numbers are parsed and normalized with a real phone-number library, not a strip-non-digits shortcut.
  • Backfill tool. A standalone CLI can re-normalize existing records if formatting rules change.

Staging → master review

  • Nothing skips review. Every upload lands in staging first, categorized as unique, self-duplicate, master-duplicate or vendor-duplicate.
  • Explicit migration. Reviewed rows move into the master table individually or as a group — never silently.

Vendor & operations

Know who sent what

Vendor-level reporting, search, and the day-to-day admin tools a data-operations team actually needs.

Vendor tracking

  • One record per vendor. Vendor master data ties every delivered number back to who sent it.
  • Delivery memory. A per-vendor phone index is the source of truth for whether a vendor has sent a number before.

Reporting & export

  • Date-ranged vendor reports. Unique, self-duplicate, master-duplicate, vendor-duplicate and error counts, per vendor, over any date range.
  • CSV export. Reports and result sets both export to CSV for downstream use.

Search & discovery

  • Field discovery. Search across the fields actually present in an uploaded file, not a fixed schema.
  • Per-file search. Look up specific records inside a specific upload result.

User management

  • Full admin control. Admins can create, update, lock, unlock, activate or deactivate user accounts.
  • Role-aware dashboard. The dashboard adapts what it shows based on admin vs. standard-user role.

Storage maintenance

  • Admin-triggered compaction. A maintenance job reclaims storage without needing a maintenance window.
  • Configurable limits. Upload size and file-extension allow-list are admin-configurable.

Security & privacy

  • Passwords hashed with bcrypt; the hash is never returned in API responses.
  • Configurable upload size and file-extension allow-list, enforced server-side.
  • Security response headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy) on every page.
  • Production containers bind to localhost only, behind Nginx TLS termination — the database port is never exposed publicly.
  • Stateless JWT auth with a short-lived access token and a separate refresh token.

Reliability

  • Health-checked containers so the API and database are monitored automatically.
  • Idempotent schema-on-boot — the database schema applies safely on every start, with no manual migration step to forget.
  • Sized for large uploads: extended request timeouts and a slowloris guard on every connection.
  • A standalone normalize tool can backfill phone-number formatting across existing data without downtime.

Next step

See the dedup pipeline on real vendor files.

We'll walk through an upload, the three-tier dedup, and a vendor report — on a call.

Have a different system to build? Tell us the problem and the constraints, and we will tell you how we would approach it. Contact us

More work

Related projects

Our other data platform projects.

Database Migration Platform — Data Platform
01 / Data Platform

Database Migration Platform

Live in production

Move a live database to a new engine, and check it before you switch

Database Migration Platform is a browser-operated tool, built by Esparks IT Solutions, for moving a live database to a different engine with change data capture. SQL Server, PostgreSQL, MySQL, Oracle and Db2 can each be the source or the target, and MongoDB can be a source. Existing rows are loaded first, by direct copy or a snapshot through Kafka, then Debezium 3.7 on Kafka Connect streams every change from the source's own log while the source stays in use. An integrity check compares counts, keys and a sample of row values table by table, views are translated to PostgreSQL, procedures and triggers are listed for conversion, and cutover stays blocked until the checks pass and the target has caught up. Alerts catch a stalled pipeline, lag or changes at risk. It runs inside the customer's own environment on Docker: one deployment has loaded about 780 million rows across 405 tables from SQL Server into PostgreSQL 16 and keeps them in sync ahead of cutover. Underneath: a Java 25 and Spring Boot 4.2 control plane, a React console, AES-256-GCM encrypted credentials, single sign-on and over 700 automated tests.

  • 1B+ rows moved, production and tests
  • ~780M-row SQL Server estate in sync
  • 100M rows in ~3 min on one laptop
  • Java 25
  • Spring Boot 4.2
  • React 19
  • +4
ThinClient OS + Fleet Manager — DevOps & Infrastructure
02 / DevOps & Infrastructure

ThinClient OS + Fleet Manager

Live in production

Locked-down agent desktops for BPOs and contact centres, run from one web console

ThinClient OS turns an ordinary PC into a locked-down Linux seat. It joins through the account's installer and, by default, waits until an administrator approves it in the ThinClient Manager. It starts at a lock screen, never a desktop. After unlocking, the agent presses Connect to open a full-screen Windows session over RDP, within any working hours the administrator has set; when those hours close, the seat locks again. The manager can push the Windows server and credentials, and the password is never shown on the seat. There are no local files to save. It is in production at a BPO client with 50 agents. Supervisors run the floor from the ThinClient Manager web and mobile console: a video wall of live agent screens, shift hours that lock and open seats on schedule, a working-hours report with breaks per agent, team-lead roles limited to their own agents, chat over the agent's session, and lock, restart or remote wipe from the browser. USB storage and the clipboard can be switched off per account, and sessions can be recorded to private storage with automatic deletion. On machines with Secure Boot and a TPM 2.0 chip the whole disk is encrypted, with the key sealed in the machine itself and tested against disk theft and boot tampering. A watchdog reconnects dropped sessions, signed updates roll out to a few machines first with automatic rollback, and the console starts and stops the AWS, Azure and supported VPS servers the seats connect to.

  • In production: 50 agents at a BPO
  • No local desktop or files
  • TPM-sealed full-disk encryption
  • Debian 13
  • FreeRDP 3
  • systemd
  • +7
CallIntell — AI Call Synopsis & Quality — AI Platform
03 / AI Platform

CallIntell — AI Call Synopsis & Quality

In development

Every call summarised into the CRM, without anyone listening

CallIntell turns recorded phone calls into reviewed, structured CRM records without anyone listening to the call. A six-stage queue-backed pipeline fetches the recording, transcribes it with speaker labels and word-level timestamps on serverless GPU, strips personal identifiers before any text reaches a language model, matches the call to its CRM record, and generates a schema-validated synopsis — outcome, commitments, objections, price discussed — with every point linked to the second of audio it came from. Spoken follow-up phrases such as “call me in ten days” are resolved into dated CRM tasks in the customer's own time zone, with the verbatim wording kept alongside. Anything the system is not confident about routes to a human review queue rather than being guessed, and CRM writes are idempotent so a retry cannot duplicate a note or a task. Built on Next.js, BullMQ on Redis, PostgreSQL with Drizzle, WhisperX with diarization, Microsoft Presidio redaction and Claude, with passkey and TOTP sign-in, an append-only audit log, per-company isolation and usage metering. Deployed and running the first customer workflow; not yet opened as a public product.

  • Speaker-labelled transcripts with word-level timestamps
  • Every synopsis point links to its moment in the audio
  • Idempotent CRM writes — retries cannot duplicate
  • Next.js
  • TypeScript
  • BullMQ
  • +5