alumni_lookup

Alumni Lookup Documentation

Last Updated: December 2025
Comprehensive documentation for the Alumni Lookup application.


πŸ“š Quick Start

Document Purpose Audience
PRODUCT_OVERVIEW.md Stakeholder-ready product summary Everyone
REPO_OVERVIEW.md Technical architecture and codebase Developers
CHANGELOG.md Version history and release notes Everyone
../README.md Setup and getting started New developers

πŸ“ Documentation Structure

docs/
β”œβ”€β”€ PRODUCT_OVERVIEW.md      # Stakeholder-ready product summary
β”œβ”€β”€ REPO_OVERVIEW.md         # Technical architecture overview
β”œβ”€β”€ CHANGELOG.md             # Version history
β”œβ”€β”€ README.md                # This file - documentation index
β”‚
β”œβ”€β”€ development/             # Technical guides for contributors
β”‚   β”œβ”€β”€ AGENTS.md            # AI assistant & developer guide
β”‚   β”œβ”€β”€ ARCHITECTURE.md      # Two-domain architecture
β”‚   β”œβ”€β”€ AUTHENTICATION.md    # Devise setup & auth patterns
β”‚   β”œβ”€β”€ PERMISSIONS_MATRIX.md # Role-based access blueprint
β”‚   β”œβ”€β”€ API.md               # Internal API documentation
β”‚   β”œβ”€β”€ MODEL_RELATIONSHIPS.md # ActiveRecord associations
β”‚   β”œβ”€β”€ TESTING_GUIDE.md     # Test patterns, fixtures & coverage
β”‚   β”œβ”€β”€ FEATURE_FLAGS.md     # Feature flag strategy & usage
β”‚   β”œβ”€β”€ TODO_BUGS.md         # Known issues tracker
β”‚   β”œβ”€β”€ DOCUMENTATION_STANDARDS.md # Templates for new docs
β”‚   β”œβ”€β”€ TAILWIND_PLUS_ELEMENTS.md # UI component guide
β”‚   β”œβ”€β”€ TAILWIND_PLUS_ELEMENTS_DOCS.md # Component reference
β”‚   └── UNIFIED_CRM_SYNC.md      # CRM change tracking architecture
β”‚
β”œβ”€β”€ features/                # Feature-specific documentation
β”‚   β”œβ”€β”€ AFFINAQUEST_IMPORT.md # CRM contact sync & import
β”‚   β”œβ”€β”€ AUTH_AND_ROLES_SYSTEM.md # Authentication & roles v1.3.0 (complete)
β”‚   β”œβ”€β”€ CHAMPION_SIGNUP_SYSTEM.md # Champion signup v1.0 (complete)
β”‚   β”œβ”€β”€ ENGAGEMENT_STATS_SYSTEM.md # Analytics dashboard
β”‚   β”œβ”€β”€ TOP_ENGAGED_ALUMNI_SYSTEM.md # Ranking algorithm
β”‚   β”œβ”€β”€ FLAGSHIP_EVENTS.md   # Event tracking
β”‚   β”œβ”€β”€ ALUMNI_CONTACT_ID_INTEGRATION.md # Salesforce integration
β”‚   β”œβ”€β”€ ALUMNI_PHOTOS_FEATURE.md # Photo uploads
β”‚   β”œβ”€β”€ DEGREE_UPLOAD_PREVIEW.md # Degree imports
β”‚   └── ACCENT_INSENSITIVE_SEARCH.md # Search enhancement
β”‚
β”œβ”€β”€ deployment/              # Service-specific setup guides
β”‚   └── PHOTO_STORAGE_SETUP.md   # S3 / Cloudinary config for photos
β”‚
β”œβ”€β”€ operations/              # Environment & deployment pipelines
β”‚   β”œβ”€β”€ DEPLOY_GUIDE.md            # Quick deployment instructions
β”‚   β”œβ”€β”€ ENVIRONMENTS_CURRENT.md    # Current state analysis
β”‚   β”œβ”€β”€ ENVIRONMENT_STRATEGY.md    # Target environment design
β”‚   β”œβ”€β”€ EXTERNAL_SERVICES_ENV_CONFIG.md # Service config per env
β”‚   β”œβ”€β”€ CI_PIPELINE.md             # GitHub Actions CI/CD
β”‚   └── DEPLOYMENT_PIPELINE.md     # Deploy & rollback procedures
β”‚
└── planning/                # Future development (NOT YET IMPLEMENTED)
    β”œβ”€β”€ README.md            # Planning docs overview
    β”œβ”€β”€ champion-portal/           # Champion Portal specifications
    └── event-checkin-integration/  # Event check-in integration plan
        β”œβ”€β”€ 00-overview.md           # Problem, goals, recommendation
        β”œβ”€β”€ 01-pros-cons-and-questions.md  # Analysis & decisions
        β”œβ”€β”€ 02-phased-integration-plan.md  # Development roadmap
        └── 03-champion-portal-interaction.md  # Portal alignment

πŸ” Find Documentation By Task

Understanding the Product

Setting Up Development

  1. ../README.md β€” Clone, install, configure
  2. development/AGENTS.md β€” Conventions and patterns
  3. development/MODEL_RELATIONSHIPS.md β€” Database associations

Working with Features

Importing/Exporting Data

Deploying to Production

Setting Up Environments & CI/CD

Debugging Issues

Planning Future Work


πŸ”‘ Quick Reference

Engagement Scoring

Level 0 β†’ 0 points    Level 1 β†’ 1 point     Level 2 β†’ 3 points
Level 3 β†’ 7 points    Level 4 β†’ 10 points

Activity Caps: email_click (max 5), event_rsvp (max 2)
Distance Formula: √((score Γ— 1.5)Β² + (activity_count Γ— 1.0)Β²)

Critical Model Associations

# βœ… CORRECT
EngagementActivity.joins(:alumni)  # NOT :alumnus
Alumni.joins(degrees: { major: :college })  # Full chain required

# ❌ WRONG
EngagementActivity.joins(:alumnus)  # Wrong name
Alumni.joins(degrees: :college)  # Skips major

Contact ID Format

Pattern: C-000000000 (e.g., C-000198612)
Export Header: "AdvRM - Contact ID"

πŸ“ Contributing to Documentation

When to Update Docs

Change Type Update These Files
New feature Create in features/, update this README
Bug fix Add to CHANGELOG.md, update TODO_BUGS.md
Architecture change Update development/ARCHITECTURE.md
Model changes Update development/MODEL_RELATIONSHIPS.md
New patterns Update development/AGENTS.md

Documentation Standards

See development/DOCUMENTATION_STANDARDS.md for:

Principles

  1. Single Source of Truth β€” Document each concept in ONE place
  2. Keep Current β€” Update during development, not after
  3. Cross-Reference β€” Link related docs, don’t duplicate
  4. Actionable β€” Include code examples and steps

πŸ”— External References