You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Star0 (0)You must be signed in to star a repository
About
HireMind is an AI-powered job board platform connecting job seekers and recruiters. It features AI-generated cover letters, resume analysis, smart job recommendations, recruiter analytics, Stripe subscriptions, role-based dashboards, blog management, and secure authentication. Built with Next.js, Express, MongoDB, BetterAuth, and Google Gemini AI.
AI-powered job board platform with three user roles: seeker, recruiter, and admin. Features include AI-generated cover letters, resume analysis, job recommendations, Stripe subscription plans, role-based dashboards, and blog management.
Two independent npm packages — frontend/ (Next.js 16) and backend/ (Express + MongoDB). No monorepo tooling, no CI, no tests.
Each module exports createXRoutes(...collections). Route-to-collection wiring in src/app.ts:79-91.
Middleware Order
helmet → mongoSanitize → cookieParser
→ Stripe webhook raw body parser (before express.json)
→ express.json (limit: 10mb) → CORS (CLIENT_URL, comma-separated)
→ rate limit (100 req / 15 min)
→ AI rate limit (10 req / min on /api/ai)
→ routes → globalErrorHandler
ESM
Backend package.json has "type": "module". All source imports use explicit .js extensions ('./app.js'). New backend files must follow the same convention.
Known Gaps
No uncaughtException / unhandledRejection handlers
No PM2, no clustering — single-process
MongoDB connection failure: process.exit(1) with no retry
Backend can also deploy to Vercel as a serverless function via api/index.ts (@vercel/node).
Screenshots
Notes for Contributors
The route folder regester/ is intentionally misspelled — do not rename
backend/src/config/db.ts is dead code (never imported, targets HireMind instead of TalentAI)
backend/src/middlewares/role.middleware.ts duplicates auth.middleware.ts — import requireRole from auth.middleware.ts
openai, groq-sdk, and esbuild are listed in package.json dependencies but have zero imports in source
About
HireMind is an AI-powered job board platform connecting job seekers and recruiters. It features AI-generated cover letters, resume analysis, smart job recommendations, recruiter analytics, Stripe subscriptions, role-based dashboards, blog management, and secure authentication. Built with Next.js, Express, MongoDB, BetterAuth, and Google Gemini AI.