Salesforce DX project for the SEED Right Fit college matching solution. Students complete a Right Fit Survey; their criteria are matched against colleges (Accounts), and counselors review and curate the results before students access them in the SEED Right Fit Community portal.
Repository: github.com/mauricedavis/SEED_RightFit
| Component | Type | Purpose |
|---|---|---|
rightFitMatchPreview |
LWC | Match preview in Right Fit Survey flow; shows match count, suggestions, Recalculate |
rightFitMatchDiagnostic |
LWC | Admin simulator for testing match logic |
RightFitMatchService |
Apex | Matching logic (getMatchPreviewByRecordId, getMatchPreviewBySelections) |
Student_Right_Fit_School_Selection_Criteria |
Flow | Right Fit Survey capture flow (Student Match Criteria → Matching Preview) |
- Node.js (v18 or later recommended)
- Salesforce CLI (sf)
- VS Code with Salesforce Extension Pack (recommended)
-
Clone and install
git clone https://github.com/mauricedavis/SEED_RightFit.git cd SEED_RightFit npm install
-
Authorize a Salesforce org
sf org login web
-
Deploy to your org
sf project deploy start --target-org seedfoundation
SEED_RightFit/
├── force-app/main/default/
│ ├── lwc/
│ │ ├── rightFitMatchPreview/ # Right Fit Survey preview component
│ │ └── rightFitMatchDiagnostic/ # Admin diagnostic simulator
│ ├── classes/
│ │ ├── RightFitMatchService.cls
│ │ └── RightFitMatchServiceTest.cls
│ └── flows/
│ └── Student_Right_Fit_School_Selection_Criteria.flow-meta.xml
├── docs/
│ ├── BACKGROUND.md # Project background and terminology
│ ├── FLOW_CHECKBOX_MAPPING.md # Checkbox-to-preview mapping
│ └── plan.md # Implementation plan and findings
├── config/ # Scratch org def (optional)
└── sfdx-project.json
| Environment | Target |
|---|---|
| Default (seedfoundation) | sf project deploy start --target-org seedfoundation |
| Full Sandbox | sf project deploy start --target-org <fullsb-alias> |
To pull the latest flow (e.g., after changes in Flow Builder):
sf project retrieve start --metadata "Flow:Student_Right_Fit_School_Selection_Criteria" --target-org seedfoundation| Command | Description |
|---|---|
npm run lint |
Lint Aura and LWC JavaScript |
npm run test |
Run LWC unit tests |
npm run test:unit:watch |
Run tests in watch mode |
npm run test:unit:coverage |
Run tests with coverage |
npm run prettier |
Format code |
npm run prettier:verify |
Check code formatting |
- docs/BACKGROUND.md – Terminology, end-to-end flow, key objects
- docs/FLOW_CHECKBOX_MAPPING.md – Checkbox-to-preview mapping
- docs/plan.md – Implementation plan, formula fixes, Flow refresh settings