Multi-agent web app to automate end-to-end job applications.
- Next.js (App Router) + TypeScript + TailwindCSS
- API routes (Node 18+)
- MongoDB (Mongoose), Redis, LangGraph (planned), Playwright (planned)
- Copy envs:
cp config/env.example .env.local- Install deps:
pnpm install- Run dev server:
pnpm dev- Set
MONGODB_URIin.env.local. - Seed sample data:
pnpm seed- Health checks:
- API:
/api/health - DB:
/api/health/db
- API:
Add to .env.local:
JWT_SECRET=replace-with-strong-secret
JWT_EXPIRES_IN=7dEndpoints:
POST /api/auth/register{ name, email, password, role? }POST /api/auth/login{ email, password } →{ token, user }GET /api/auth/mewithAuthorization: Bearer <token>
pnpm dev– start dev serverpnpm build– production buildpnpm start– start production serverpnpm lint/pnpm lint:fix– run ESLintpnpm format/pnpm format:check– run Prettierpnpm seed– run seed script (placeholder)
src/app– routes and API endpointssrc/components– UI componentssrc/lib– shared utilities/configsrc/types– shared typesscripts/seed.ts– seed script
Step 2 will add MongoDB models, connection utilities, and initial schemas.
GET /api/jobs/list?q=– list jobs (auth)POST /api/jobs/scrape– create placeholder job (mentor/admin)POST /api/analyze– returns{ match }score (auth)POST /api/resume/tailor– returns{ resume }tailored text (auth)POST /api/coverletter/generate– returns{ cover_letter }(auth)POST /api/apply/submit– create submitted application (auth)GET /api/applications/history– list user’s applications with job info (auth)GET /api/mentor/overview– basic stats (mentor/admin)
- Redis URL in
.env.local:REDIS_URL=redis://localhost:6379 - Start pipeline:
POST /api/orchestrate/startwith{ jobId }(auth) - Logs stored in
Logscollection