c8152ce86e7b4ec304784ae07e43df164af71721
Add superuser admin interface for managing organizations and users: - Admin layout with access control (redirects non-superusers) - Admin dashboard with org/user counts and quick actions - Org management: list, create, view/edit details, manage sites - User management: list, view details, toggle superuser, confirm email - SuperuserBadge component for consistent superuser indication - Sidebar shows admin link (shield icon) for superusers only - Centralized date formatting utility at $lib/utils/format-date.ts - Test plan documentation at docs/test-plans/admin.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Languages
TypeScript
63.4%
Svelte
35.1%
CSS
0.7%
JavaScript
0.4%
Nix
0.3%