RevIQ 42badf3c52 Add DBIP city database and improve geo test coverage
- Add dbip-city-lite package to devenv for GeoIP testing
- Set GEOIP_DATABASE_PATH env var to point to the MMDB database
- Add tests for initGeoReader double-init and error handling
- Add real database tests for IP lookups (US, AU, DE, GB)
- Make real database tests conditional with describe.skipIf
- Improve test coverage from ~97% to 98.82%

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 18:10:30 +08:00
2026-01-09 12:37:17 +08:00
2026-01-10 16:42:07 +08:00

Reviq Publisher Dashboard

Setup

Prerequisites

  • devenv for development environment management

Environment Variables

Copy .env.dev to .env for local development:

cp .env.dev .env
Variable Description
DATABASE_URL PostgreSQL connection string

Development

Start the development environment:

devenv up

This starts:

  • PostgreSQL database
  • Publisher dashboard dev server (port 6827)
  • Package build watcher

The database is automatically initialized with:

  • Database: reviq-dashboard
  • User: reviq
  • Password: reviq
Description
No description provided
Readme 964 KiB
Languages
TypeScript 63.4%
Svelte 35.1%
CSS 0.7%
JavaScript 0.4%
Nix 0.3%