Google Places-based Business Discovery Tool

Personal Project

A local Node.js 24 and TypeScript tool that builds district-level business lists with phone normalization, deduplication, and JSON-configured scoring.

The problem and purpose

Building a clean, district-level list of businesses, merging duplicate entries, and scoring records against explicit criteria required a local, repeatable workflow. The tool does not send messages; it only builds district-based business lists and scores the records.

My role

I designed and built the project for personal use as a 5-package npm workspaces monorepo. I implemented the Places API (New) collector, the node:sqlite data layer, a robots.txt-compliant website enricher, a local API bound exclusively to 127.0.0.1, a React/Vite panel, and a Manifest V3 Chrome extension.

Key decisions

  • 5-package TypeScript monorepo managed with npm workspaces
  • Data collection via Google Places API (New) with local persistence in node:sqlite
  • Phone number normalization, duplicate record merging, and JSON-configured scoring
  • Website information enricher that respects robots.txt rules
  • Local API bound only to 127.0.0.1 serving a React/Vite panel and a Manifest V3 Chrome extension
  • 73 Vitest tests covering core logic and data processing
  • No outbound messaging; limited strictly to building and scoring district-level business lists

Architecture

The collector and robots.txt-compliant enricher write records into node:sqlite, where phone normalization, deduplication, and JSON-configured scoring run. A local API bound exclusively to 127.0.0.1 exposes the data to both the React/Vite panel and the Manifest V3 Chrome extension.

  1. Places + EnricherAPI (New) and robots.txt-compliant fetch
  2. SQLite + Scoringnode:sqlite, merge and JSON rules
  3. Local API + Clients127.0.0.1 API, React/Vite and Chrome MV3
The collector and enricher write to SQLite; a 127.0.0.1 local API serves the React panel and Chrome extension.

Outcome

Verified by 73 Vitest tests across the 5-package monorepo, the tool provides a local pipeline for collecting, deduplicating, and scoring district-level business records with both a web panel and a browser extension.

Turn technical decisions into a working product.

Get in touch to discuss a SaaS product, custom web application, or AI prototype.

Start a conversation