Skip to content

About

Self-hosted ministering interview tracker for volunteer leaders in Church of Jesus Christ of Latter-Day Saints

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Ministering Tracker

A self-hosted web app for tracking ministering interviews and family assignments. Built for LDS ward leadership to coordinate interviews, track family contact status, and manage action items.

Docker Pulls Docker Image Size

Features

  • πŸ“‹ Companionship Management β€” Track members and their assigned families
  • πŸ“… Interview Scheduling β€” Set date/time, auto-log completion
  • ⭐ Action Items β€” Star families needing follow-up, track resolution
  • πŸ”„ Quarter Rollover β€” Copy data to new quarter with reset statuses
  • πŸ“± Mobile Friendly β€” Dark theme, responsive design
  • πŸ” Password Protected β€” Simple single-password auth (no accounts needed)
  • πŸ“₯ Import API β€” Bulk import companionships via REST endpoint

Quick Start

Docker (Recommended)

# Create a directory for the app
mkdir ministering-tracker && cd ministering-tracker

# Download docker-compose.yml
curl -O https://raw.githubusercontent.com/Cjericho4/ministering-tracker/main/docker-compose.yml

# Start the app
docker compose up -d

The app will be available at http://localhost:3000

Docker Run

docker run -d \
  --name ministering-tracker \
  -p 3000:3000 \
  -v ministering-data:/app/data \
  -e ORIGIN=http://localhost:3000 \
  -e API_KEY=$(openssl rand -hex 32) \
  cjericho4/ministering-tracker:latest

From Source

git clone https://github.com/Cjericho4/ministering-tracker.git
cd ministering-tracker
npm install
npm run dev

Configuration

Variable Description Default
DB_PATH SQLite database path /app/data/ministering.db
ORIGIN App URL (required for CORS in production) β€”
API_KEY Key for import API β€”

Production Setup

For production, set ORIGIN to your actual domain:

environment:
  - ORIGIN=https://ministering.yourdomain.com
  - API_KEY=your-secure-api-key

Usage

First Run

  1. Open the app and set your password
  2. Create companionships with members and families
  3. Schedule and track interviews throughout the quarter

Interview Workflow

  1. Schedule β€” Set interview date/time for a companionship
  2. Conduct β€” Meet with the companionship
  3. Complete β€” Mark as interviewed, update family contact statuses
  4. Follow-up β€” Star families needing action items

Quarter Rollover

At the end of each quarter:

  1. Go to Settings
  2. Click Roll Over to New Quarter
  3. All companionships are copied, statuses reset
  4. Starred families with incomplete actions carry over

API Reference

All API endpoints require Authorization: Bearer YOUR_API_KEY header.

List Companionships

GET /api/companionships
GET /api/companionships?quarter=2026-Q1
GET /api/companionships?status=pending

Get Single Companionship

GET /api/companionships/123

Lookup by Member Name

Find companionships by member name (useful for upsert logic):

# Partial match (default)
GET /api/companionships/lookup?members=John,Jane

# Exact match
GET /api/companionships/lookup?members=John Smith&exact=true

# With quarter filter
GET /api/companionships/lookup?members=Smith&quarter=2026-Q1

Returns:

{
  "companionships": [...],
  "matches": [
    { "searchedFor": "John", "found": "John Smith", "companionshipId": 5 }
  ],
  "searchTerms": ["John", "Jane"]
}

Create Companionship

POST /api/companionships
Content-Type: application/json

{
  "status": "pending",
  "quarter": "2026-Q1",
  "members": ["Elder Smith", "Elder Jones"],
  "families": ["Johnson Family", "Williams Family"]
}

Update Companionship (Full Replace)

Replaces members and families entirely:

PUT /api/companionships/123
Content-Type: application/json

{
  "status": "scheduled",
  "members": ["Elder Smith", "Elder Brown"],
  "families": [
    { "name": "Johnson Family", "contactStatus": "contacted" },
    { "name": "Williams Family" }
  ]
}

Patch Companionship (Partial Update)

Updates only companionship fields, leaves members/families unchanged:

PATCH /api/companionships/123
Content-Type: application/json

{
  "status": "interviewed",
  "interviewedAt": "2026-01-15T10:00:00Z"
}

Delete Companionship

DELETE /api/companionships/123

Bulk Import

POST /api/import
Content-Type: application/json

{
  "companionships": [
    {
      "members": ["Elder Smith", "Elder Jones"],
      "families": ["Johnson Family", "Williams Family"]
    }
  ],
  "clearExisting": false
}

Detailed Import Format

{
  "companionships": [
    {
      "status": "pending",
      "members": [
        { "name": "Elder Smith", "notes": "EQP" }
      ],
      "families": [
        { "name": "Johnson Family", "contactStatus": "contacted" }
      ]
    }
  ],
  "clearExisting": false
}

Architecture

Layer Technology
Framework SvelteKit
Styling Tailwind CSS (dark theme)
Database SQLite + Drizzle ORM
Auth bcrypt password hashing
Container Node 22 Alpine

Supported Platforms

Docker images are built for:

  • linux/amd64 β€” Intel/AMD servers, Intel Macs
  • linux/arm64 β€” Apple Silicon Macs, Raspberry Pi 4+

Development

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Creating a Release

# Bump version and create tag
./scripts/release.sh patch  # or minor, major

# Push to trigger Docker build
git push && git push --tags

License

MIT

About

Self-hosted ministering interview tracker for volunteer leaders in Church of Jesus Christ of Latter-Day Saints

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages