模块概览
jd-matcher 的六层模块架构及各层职责速查。
模块概览
项目源码按依赖方向分为 6 层,每层包含 1 个或多个模块。
快速导航
types/index.js
ParsedJD · Resume · MatchResult · AppState
config/index.js
WEIGHTS · SKILL_DICTIONARY · initConfig()
repo/resumeRepo.js
loadResume() · loadFromFile()
service/parser.js
parseJD() → ParsedJD
service/matcher.js
computeMatch() → MatchResult
service/aiMatcher.js
computeMatchWithAI() + fallback
runtime/store.js
subscribe · runMatch · loadResumeAction
ui/app.js + index.html
DOM 渲染、事件绑定、Chart.js 图表