How vrushabhshelokar/zelosify works
Zelosify is an assessment monorepo containing a Next.js frontend and an Express backend. The visible product workflows include local authentication, hiring-manager review of candidate profiles, and digital-initiative requests; backend hiring reads profile/opening data and applies deterministic score thresholds, while storage exposes file-listing through a provider abstraction. The tree also identifies AI recommendations and upload services, but their runtime wiring is only partly shown. The README describes the monorepo rather than product behavior, and frontend-to-API connections are not evidenced in the excerpts, so those links are omitted.
Main entry points: prisma.ts Prisma client · localAuthController.ts Auth controller · localRegister.ts Registration · contractHiringManagerController.ts Manager hiring API
Components 26
Web application
- Login page
Zelosify-Frontend/src/app/(Landing)/(auth)/login/page.jsx - Openings pages
Zelosify-Frontend/src/app/(UserDashBoard)/hiring-manager/openings/page.jsx - Initiative page
Zelosify-Frontend/src/app/(UserDashBoard)/business-user/digital-initiative/page.jsx
Identity and access
- Local auth routes
Zelosify-Backend/Server/src/routers/auth/local/localAuthRoutes.ts - Authentication
Zelosify-Backend/Server/src/middlewares/auth/authenticateMiddleware.ts - Auth controller
Zelosify-Backend/Server/src/controllers/auth/local/localAuthController.ts - Registration
Zelosify-Backend/Server/src/controllers/auth/local/register/localRegister.ts - Local login
Zelosify-Backend/Server/src/controllers/auth/local/login/localLogin.ts - TOTP verification
Zelosify-Backend/Server/src/controllers/auth/local/login/verifyTOTP.ts - Keycloak config
Zelosify-Backend/Server/src/config/keycloak/keycloak.ts - Admin token
Zelosify-Backend/Server/src/utils/keycloak/getAdminToken.ts
Hiring workflows
- Hiring routes
Zelosify-Backend/Server/src/routers/hiring/hiringManagerRoutes.ts - Manager hiring API
Zelosify-Backend/Server/src/controllers/hiring/contractHiringManagerController.ts - Profile API
Zelosify-Backend/Server/src/controllers/hiring/hiringProfileController.ts - Score thresholds
Zelosify-Backend/Server/src/services/ai/tools/scoringEngine.ts
Backend services
- Recommendations
Zelosify-Backend/Server/src/services/ai/recommendationService.ts - AI orchestrator
Zelosify-Backend/Server/src/services/ai/agentOrchestrator.ts - Prisma client
Zelosify-Backend/Server/src/config/prisma/prisma.ts - Storage API
Zelosify-Backend/Server/src/controllers/storage/storageController.ts - Storage factory
Zelosify-Backend/Server/src/services/storage/storageFactory.ts - Storage service
Zelosify-Backend/Server/src/services/storage/storageService.ts - AWS S3 storage
Zelosify-Backend/Server/src/services/storage/aws/awsStorageService.ts
Business requests
- Initiative requests
Zelosify-Backend/Server/src/controllers/form/initiativeRequestController.ts - Controller exports
Zelosify-Backend/Server/src/controllers/controllers.ts
Other components
- User
- Amazon S3
Connections 25
- User → Login page: opens
- User → Openings pages: reviews
- User → Initiative page: submits
- Local auth routes → Authentication: authenticates
Zelosify-Backend/Server/src/routers/auth/local/localAuthRoutes.ts - Local auth routes → Auth controller: routes to
Zelosify-Backend/Server/src/routers/auth/local/localAuthRoutes.ts - Auth controller → Registration: delegates to
Zelosify-Backend/Server/src/controllers/auth/local/localAuthController.ts - Auth controller → Local login: delegates to
Zelosify-Backend/Server/src/controllers/auth/local/localAuthController.ts - Auth controller → TOTP verification: delegates to
Zelosify-Backend/Server/src/controllers/auth/local/localAuthController.ts - Registration → Prisma client: uses
Zelosify-Backend/Server/src/controllers/auth/local/register/localRegister.ts - Registration → Admin token: requests token
Zelosify-Backend/Server/src/controllers/auth/local/register/localRegister.ts - Registration → Keycloak config: uses
Zelosify-Backend/Server/src/controllers/auth/local/register/localRegister.ts - Local login → Prisma client: uses
Zelosify-Backend/Server/src/controllers/auth/local/login/localLogin.ts - TOTP verification → Prisma client: uses
Zelosify-Backend/Server/src/controllers/auth/local/login/verifyTOTP.ts - Hiring routes → Authentication: authenticates
Zelosify-Backend/Server/src/routers/hiring/hiringManagerRoutes.ts - Hiring routes → Manager hiring API: routes to
Zelosify-Backend/Server/src/routers/hiring/hiringManagerRoutes.ts - Manager hiring API → Prisma client: reads and updates
Zelosify-Backend/Server/src/controllers/hiring/contractHiringManagerController.ts - Manager hiring API → Score thresholds: evaluates thresholds
Zelosify-Backend/Server/src/controllers/hiring/contractHiringManagerController.ts - Recommendations → AI orchestrator: invokes
Zelosify-Backend/Server/src/services/ai/recommendationService.ts - Storage API → Storage factory: creates service
Zelosify-Backend/Server/src/controllers/storage/storageController.ts - Storage factory → AWS S3 storage: selects provider
Zelosify-Backend/Server/src/services/storage/storageFactory.ts - AWS S3 storage → Storage service: implements
Zelosify-Backend/Server/src/services/storage/aws/awsStorageService.ts - AWS S3 storage → Amazon S3: reads and writes
Zelosify-Backend/Server/src/services/storage/aws/awsStorageService.ts - Initiative requests → Prisma client: database write disabled
Zelosify-Backend/Server/src/controllers/form/initiativeRequestController.ts - Controller exports → Initiative requests: exports
Zelosify-Backend/Server/src/controllers/controllers.ts - Controller exports → Profile API: exports
Zelosify-Backend/Server/src/controllers/controllers.ts