RevIQ d824cf4116 Refactor API to use nested sessions/devices routers and fix test infrastructure
- Update API contract to use nested router structure for sessions and devices
  (me.sessions.list, me.devices.getInfo, etc.)
- Update frontend Svelte components to use new nested API paths
- Fix test assertion patterns for consistency (remove async () => wrappers)
- Fix test-db.ts findRepoRoot to use existsSync for directory checking
  (Bun.file().exists() returns false for directories)
- Add ESLint config override for test files to handle expect().rejects patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 17:17:50 +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%