RevIQ d66894e8dc Add admin CLI command and auth guard, use oRPC client
CLI changes:
- Use official oRPC client instead of manual HTTP requests
- Add admin complete-login command for dev workflow
- Remove type assertions, use proper ContractRouterClient typing
- Add @orpc/client and @orpc/contract dependencies

API changes:
- Use oRPC cookie helpers from @orpc/server/helpers
- Improve admin complete-login error messages (expired, already completed)

Dashboard changes:
- Add AuthGuard component to redirect unauthenticated users to /auth/login
- Update confirm page with correct CLI command and copy button
- Remove duplicate auth redirect from dashboard layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 19:12:19 +08:00
2026-01-09 18:44:56 +08:00
2026-01-09 12:37:17 +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%