How dangerrohit84/certihub works
CertiHub turns uploaded credentials into verified, searchable career assets. The primary flow is certificate upload, asset storage and AI/OCR extraction, then credential persistence for portfolios and institutional analytics. The repository also has career guidance, sharing and role-based institution, HOD, mentor, and organization workflows. The graph combines documented product capabilities with relationships visible in sampled source and the SOURCE INDEX; unsampled page behavior and some frontend-to-backend calls are not asserted.
Main entry points: api.js API routes · certController.js Credential analysis · institutionController.js Institution issuance · organizationController.js Smart batch issuance
Components 22
User experience
- Web application
frontend/src/App.jsx - Credential workspace
frontend/src/pages/Dashboard.jsx - Public portfolio
frontend/src/pages/Portfolio.jsx - Career advisor
frontend/src/pages/CareerAdvisor.jsx - Credential verification
frontend/src/pages/Verify.jsx
Credential processing
- Credential analysis
server/controllers/certController.js - AI extraction
server/utils/aiService.js - Certificate assets
server/utils/cloudinary.js
Institutional workflows
- Institution issuance
server/controllers/institutionController.js - Smart batch issuance
server/controllers/organizationController.js - HOD management
server/controllers/hodController.js - Mentor verification
server/controllers/mentorController.js - Platform analytics
server/controllers/adminController.js
Career intelligence
- Career services
server/controllers/careerController.js
Platform services
- Firebase client
frontend/src/firebase/firebase.js - API routes
server/routes/api.js - Token and role auth
server/middleware/auth.js - Credential records
Other components
- Professional
- Groq AI
- Cloudinary
- Firebase Auth and Firestore
Connections 32
- Professional → Web application: uses
README.md - Web application → Credential workspace: routes to
README.md - Professional → Credential workspace: uploads certificate
README.md - Credential workspace → Firebase client: uses
frontend/src/pages/Dashboard.jsx - Web application → API routes: requests services
- API routes → Token and role auth: protects routes
server/routes/api.js - API routes → Credential analysis: routes analysis
server/routes/api.js - API routes → Career services: routes career requests
server/routes/api.js - API routes → Institution issuance: routes issuance
server/routes/api.js - API routes → Smart batch issuance: routes batch issuance
server/routes/api.js - API routes → HOD management: routes HOD requests
server/routes/api.js - API routes → Mentor verification: routes mentor requests
server/routes/api.js - API routes → Platform analytics: routes analytics
server/routes/api.js - Credential analysis → AI extraction: analyzes document
server/controllers/certController.js - AI extraction → Groq AI: requests inference
server/utils/aiService.js - Credential analysis → Certificate assets: uploads and deletes
server/controllers/certController.js - Credential analysis → Credential records: persists credentials
README.md - Institution issuance → Credential analysis: processes documents
server/controllers/institutionController.js - Institution issuance → Certificate assets: uploads assets
server/controllers/institutionController.js - Institution issuance → Credential records: writes issuance records
server/controllers/institutionController.js - Smart batch issuance → Credential analysis: processes documents
server/controllers/organizationController.js - Smart batch issuance → Certificate assets: uploads assets
server/controllers/organizationController.js - Smart batch issuance → Credential records: writes issuance records
server/controllers/organizationController.js - HOD management → Firebase Auth and Firestore: creates and links users
server/controllers/hodController.js - Mentor verification → Firebase Auth and Firestore: reads and verifies records
- Platform analytics → Firebase Auth and Firestore: reads analytics data
server/controllers/adminController.js - Career services → Groq AI: requests advice and chat
server/controllers/careerController.js - Career services → Firebase Auth and Firestore: reads shared credential
server/controllers/careerController.js - Career advisor → Career services: requests guidance
- Credential workspace → Public portfolio: publishes credentials
- Professional → Credential verification: checks credential
README.md - Firebase client → Firebase Auth and Firestore: authenticates and accesses data
frontend/src/firebase/firebase.js