How sajidqt/profilesharing works
Profile Sharing is a professional-profile and networking application. Users register or sign in, build a profile with career details, import resume content, and share a public profile; they can also discover users, manage invitations, and message connections. The backend exposes these capabilities through Express routes and persists domain records in MongoDB. The graph includes the documented source-level route and service relationships; frontend-to-API links are dashed because the sampled frontend excerpts do not establish those calls.
Main entry points: app.js Express API router · controller.js Authentication · resume.controller.js Resume import API · database.js MongoDB connection
Components 24
Web experience
- Sign-in and registration
frontend/app/(auth)/login/page.tsx - Profile editor and overview
frontend/features/profile/components/ProfileEditor/ProfileEditor.tsx - Resume import
frontend/features/resume/components/ResumeImportModal.tsx - Network dashboard
frontend/features/network/components/NetworkDashboard/NetworkDashboard.tsx - Messages
frontend/app/(platform)/messages/page.tsx - Public profile page
frontend/app/public/[username]/page.tsx
Identity and profiles
- Auth routes
backend/src/modules/auth/routes.js - Authentication
backend/src/modules/auth/controller.js - Account service
backend/src/modules/auth/service.js - Profile operations
backend/src/modules/profile/controller.js - Profile service
backend/src/modules/profile/service.js
Career records
- Experience records
backend/src/modules/experience/experience.controller.js - Education records
backend/src/modules/education/education.controller.js - Certifications
backend/src/modules/certification/certification.controller.js - Projects
backend/src/modules/project/project.controller.js - Resume import API
backend/src/modules/resume/resume.controller.js - Resume parsing
backend/src/modules/resume/resume.parser.js - Structured extraction
backend/src/modules/resume/resume.extractor.js
Professional network
- Connections and invitations
backend/src/modules/network/network.controller.js - Network service
backend/src/modules/network/network.service.js - Messaging
backend/src/modules/message/message.service.js
API and persistence
- Express API router
backend/src/app.js - MongoDB connection
backend/src/config/database.js
Other components
- User
Connections 33
- User → Sign-in and registration: signs in
- User → Profile editor and overview: edits profile
- User → Resume import: imports resume
- User → Network dashboard: finds connections
- User → Messages: sends messages
- User → Public profile page: views profile
- Express API router → Auth routes: routes requests
backend/src/app.js - Express API router → Profile operations: routes requests
- Express API router → Experience records: routes requests
- Express API router → Education records: routes requests
- Express API router → Projects: routes requests
- Express API router → Connections and invitations: routes requests
backend/src/app.js - Express API router → Messaging: routes requests
- Express API router → Resume import API: routes requests
backend/src/app.js - Express API router → Certifications: routes requests
backend/src/app.js - Auth routes → Authentication: dispatches
backend/src/modules/auth/routes.js - Authentication → Account service: authenticates
backend/src/modules/auth/controller.js - Authentication → Profile service: creates profile
backend/src/modules/auth/controller.js - Authentication → Sign-in and registration: serves auth data
- Profile operations → Profile service: delegates
backend/src/modules/profile/controller.js - Profile operations → Public profile page: serves profile
- Experience records → MongoDB connection: reads and writes
- Education records → MongoDB connection: reads and writes
- Certifications → MongoDB connection: reads and writes
backend/src/modules/certification/certification.controller.js - Projects → MongoDB connection: delegates
- Resume import API → Resume parsing: parses text
backend/src/modules/resume/resume.controller.js - Resume import API → Structured extraction: extracts fields
backend/src/modules/resume/resume.controller.js - Connections and invitations → Network service: delegates
backend/src/modules/network/network.controller.js - Messaging → Network service: uses network service
backend/src/modules/message/message.service.js - Profile editor and overview → Experience records: loads and saves
- Resume import → Resume import API: uploads resume
- Network dashboard → Connections and invitations: manages connections
- Messages → Messaging: exchanges messages