How ashik-exe/careerlyst works
Formant is a career-services platform with public service discovery, client accounts and project dashboards, plus administrative operations. The principal journey is visitor → service discovery or lead assessment → signup/login → client dashboard for orders, messages, files and updates; staff use the admin panel to manage the service and project lifecycle. Demo state is stored locally, while Supabase is an optional configured backend. The graph follows explicit routes and source-index references; unsampled subsystem links are omitted or marked unverified.
Main entry points: supabase.js Supabase client · main.jsx Route application · DashboardShell.jsx Dashboard shell · Admin.jsx Admin control panel
Components 22
Public entry
- Marketing pages
src/pages/Home.jsx - Service & info pages
src/pages/PublicPages.jsx - Public navigation
src/components/PublicNav.jsx - Lead assessment
src/pages/LeadAssessment.jsx
Client experience
- Signup & login
src/pages/Auth.jsx - Client dashboard
src/pages/Dashboard.jsx
Admin operations
- Admin control panel
src/pages/Admin.jsx - Lead management
src/pages/AdminLeads.jsx - Service management
src/pages/AdminServices.jsx - Project management
src/pages/AdminProjects.jsx - Team workspace
src/pages/AdminWorkspace.jsx - Review management
src/pages/AdminReviews.jsx - Notification management
src/pages/AdminNotifications.jsx - Admin settings
src/pages/AdminSettings.jsx
Shared platform
- Route application
src/main.jsx - Access guard
src/components/Protected.jsx - Dashboard shell
src/components/DashboardShell.jsx - Demo state store
src/lib/store.js - Supabase client
src/lib/supabase.js - Push delivery function
supabase/functions/send-push-notification/index.ts - Push notification client
src/lib/pushNotifications.js
Other components
- Visitor / client
Connections 46
- Visitor / client → Route application: opens
src/main.jsx - Route application → Marketing pages: routes to
src/main.jsx - Route application → Service & info pages: routes to
src/main.jsx - Route application → Lead assessment: routes to
src/main.jsx - Route application → Signup & login: routes to
src/main.jsx - Route application → Access guard: protects routes
src/main.jsx - Route application → Client dashboard: routes to
src/main.jsx - Route application → Admin control panel: routes to
src/main.jsx - Route application → Lead management: routes to
src/main.jsx - Route application → Review management: routes to
src/main.jsx - Service & info pages → Public navigation: uses navigation
src/pages/PublicPages.jsx - Marketing pages → Public navigation: uses navigation
src/pages/Home.jsx - Signup & login → Demo state store: updates demo state
src/pages/Auth.jsx - Signup & login → Supabase client: authenticates with
src/pages/Auth.jsx - Public navigation → Supabase client: signs out through
src/components/PublicNav.jsx - Access guard → Supabase client: checks session
src/components/Protected.jsx - Access guard → Demo state store: reads state
src/components/Protected.jsx - Client dashboard → Dashboard shell: renders shell
src/pages/Dashboard.jsx - Client dashboard → Demo state store: reads state
src/pages/Dashboard.jsx - Client dashboard → Supabase client: uses backend
src/pages/Dashboard.jsx - Client dashboard → Push notification client: uses notifications
src/pages/Dashboard.jsx - Dashboard shell → Demo state store: loads state
src/components/DashboardShell.jsx - Dashboard shell → Supabase client: loads account data
src/components/DashboardShell.jsx - Admin control panel → Dashboard shell: renders shell
src/pages/Admin.jsx - Admin control panel → Service management: imports services
src/pages/Admin.jsx - Admin control panel → Project management: imports projects
src/pages/Admin.jsx - Admin control panel → Review management: imports reviews
src/pages/Admin.jsx - Admin control panel → Notification management: imports notifications
src/pages/Admin.jsx - Admin control panel → Admin settings: imports settings
src/pages/Admin.jsx - Lead management → Dashboard shell: renders shell
src/pages/AdminLeads.jsx - Lead management → Supabase client: uses backend
src/pages/AdminLeads.jsx - Service management → Dashboard shell: renders shell
src/pages/AdminServices.jsx - Service management → Supabase client: reads and writes
src/pages/AdminServices.jsx - Project management → Dashboard shell: renders shell
src/pages/AdminProjects.jsx - Project management → Supabase client: uses backend
src/pages/AdminProjects.jsx - Team workspace → Dashboard shell: renders shell
src/pages/AdminWorkspace.jsx - Team workspace → Supabase client: uses backend
src/pages/AdminWorkspace.jsx - Review management → Dashboard shell: renders shell
src/pages/AdminReviews.jsx - Review management → Supabase client: deletes reviews
src/pages/AdminReviews.jsx - Notification management → Dashboard shell: renders shell
src/pages/AdminNotifications.jsx - Notification management → Supabase client: uses backend
src/pages/AdminNotifications.jsx - Admin settings → Dashboard shell: renders shell
src/pages/AdminSettings.jsx - Admin settings → Supabase client: uses backend
src/pages/AdminSettings.jsx - Push notification client → Supabase client: uses backend
src/lib/pushNotifications.js - Push notification client → Push delivery function: invokes delivery
- Supabase client → Demo state store: optional backend mode