How indianjobstech/portad-dashboard works
PortaD Dashboard is a public-facing Next.js frontend for a local-first SaaS workspace migration product; it does not ship migration logic. Users can explore the product, open a migration-wizard shell, inspect compatibility, view the jobs placeholder, and manage an account. The account flow supports Firebase authentication when configured and a browser-local preview session otherwise. The graph covers the documented dashboard capabilities and the sampled API-health and authentication wiring; unsampled migration internals and hosted job execution are not represented as implemented services.
Main entry points: page.tsx Overview page · api-status.tsx API health indicator · auth.ts Session and auth · layout.tsx Shared app layout
Components 21
Dashboard routes
- Overview page
src/app/page.tsx - Migration wizard shell
src/app/migrate/page.tsx - Jobs view
src/app/jobs/page.tsx - Compatibility matrix
src/app/compatibility/matrix.tsx - Compatibility page
src/app/compatibility/page.tsx - Account page
src/app/account/page.tsx - Shared app layout
src/app/layout.tsx
Product presentation
- Landing interactions
src/components/accordion.tsx - API health indicator
src/components/api-status.tsx - Hero and carousel
src/components/hero-visual.tsx - Process display
src/components/process.tsx - CLI demonstration
src/components/terminal.tsx - Site header
src/components/site-header.tsx - Site footer
src/components/site-footer.tsx
Identity and configuration
- Session and auth
src/lib/auth.ts - Firebase adapter
src/lib/firebase.ts - API configuration
src/lib/config.ts - Browser preview session
src/lib/auth.ts
External services
- PortaD API
- Firebase Auth service
Other components
- Visitor
Connections 22
- Visitor → Overview page: opens
README.md - Visitor → Migration wizard shell: opens
README.md - Visitor → Jobs view: opens
README.md - Visitor → Compatibility page: opens
README.md - Visitor → Account page: opens
README.md - Overview page → Landing interactions: renders
src/app/page.tsx - Overview page → API health indicator: renders
src/app/page.tsx - Overview page → Hero and carousel: renders
src/app/page.tsx - Overview page → Process display: renders
src/app/page.tsx - Overview page → CLI demonstration: renders
src/app/page.tsx - Compatibility page → Compatibility matrix: renders
src/app/compatibility/page.tsx - Jobs view → Migration wizard shell: links to
src/app/jobs/page.tsx - Account page → Session and auth: uses
src/app/account/page.tsx - Session and auth → Firebase adapter: requests API
src/lib/auth.ts - Session and auth → Browser preview session: reads and writes
src/lib/auth.ts - Firebase adapter → Firebase Auth service: authenticates with
src/lib/firebase.ts - API health indicator → API configuration: reads URL
src/components/api-status.tsx - API health indicator → PortaD API: probes health
src/components/api-status.tsx - Shared app layout → Site header: renders
src/app/layout.tsx - Shared app layout → Site footer: renders
src/app/layout.tsx - Site footer → API health indicator: renders
src/components/site-footer.tsx - Site header → Session and auth: uses
src/components/site-header.tsx