How kruthikpranavtr/moas_new works
MOAS is a multilingual job marketplace for candidates and employers, with job discovery, applications, employer recruiting tools, messaging, and AI-assisted job matching. The primary user workflow is entering through the application shell, navigating role-specific marketplace views, and using job or application features; the server exposes API routes backed by database helpers and AI engines. The graph preserves the major UI domains and backend AI/storage layers. Source excerpts do not establish which UI actions call which API routes, so those connections are omitted.
Main entry points: App.tsx App Shell · db.ts Persistence Adapter · server.ts HTTP API · Navbar.tsx Navigation
Components 24
Marketplace UI
- App Shell
src/App.tsx - Navigation
src/components/Navbar.tsx - Brand Mark
src/components/MoasLogo.tsx - Language Provider
src/context/LanguageContext.tsx - Home
src/components/views/HomeView.tsx - Companies
src/components/views/CompaniesView.tsx
Candidate Tools
- Job Search
src/components/views/FindJobsView.tsx - Candidate Dashboard
src/components/views/DashboardView.tsx - Applications
src/components/views/MyApplicationsView.tsx - Saved Jobs
src/components/views/SavedJobsView.tsx - Job Alerts
src/components/views/JobAlertsView.tsx - Candidate Profile
src/components/views/ProfileView.tsx - Resume & CV
src/components/views/ResumeCvView.tsx - Messages & AI
src/components/views/MessagesView.tsx
Employer Tools
- Employer Dashboard
src/components/views/EmployerDashboardView.tsx - Job Posting
src/components/views/PostJobView.tsx
Platform Services
- Marketplace Seed Data
src/data/mockData.ts - HTTP API
server.ts - Job Retrieval & Matching
server/ragEngine.ts - Agentic Job Assistant
server/agenticEngine.ts - Persistence Adapter
server/db.ts - Firestore
- Local PostgreSQL
server/postgres.ts
Other components
- Candidate / Employer
Connections 21
- Candidate / Employer → App Shell: uses
src/App.tsx - App Shell → Navigation: renders
src/App.tsx - Navigation → Brand Mark: renders
src/components/Navbar.tsx - App Shell → Language Provider: provides
src/App.tsx - App Shell → Home: renders
src/App.tsx - App Shell → Job Search: renders
src/App.tsx - App Shell → Candidate Dashboard: renders
src/App.tsx - App Shell → Applications: renders
src/App.tsx - App Shell → Saved Jobs: renders
src/App.tsx - App Shell → Job Alerts: renders
src/App.tsx - App Shell → Candidate Profile: renders
src/App.tsx - App Shell → Resume & CV: renders
src/App.tsx - App Shell → Messages & AI: renders
src/App.tsx - App Shell → Employer Dashboard: renders
src/App.tsx - App Shell → Job Posting: renders
src/App.tsx - App Shell → Companies: renders
src/App.tsx - Persistence Adapter → Firestore: reads / writes
server/db.ts - Persistence Adapter → Local PostgreSQL: syncs jobs
server/db.ts - HTTP API → Persistence Adapter: routes data calls
server.ts - HTTP API → Job Retrieval & Matching: runs search
server.ts - Agentic Job Assistant → Job Retrieval & Matching: retrieves job chunks
server/agenticEngine.ts