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.
- π 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
# 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 -dThe app will be available at http://localhost:3000
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:latestgit clone https://github.com/Cjericho4/ministering-tracker.git
cd ministering-tracker
npm install
npm run dev| 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 | β |
For production, set ORIGIN to your actual domain:
environment:
- ORIGIN=https://ministering.yourdomain.com
- API_KEY=your-secure-api-key- Open the app and set your password
- Create companionships with members and families
- Schedule and track interviews throughout the quarter
- Schedule β Set interview date/time for a companionship
- Conduct β Meet with the companionship
- Complete β Mark as interviewed, update family contact statuses
- Follow-up β Star families needing action items
At the end of each quarter:
- Go to Settings
- Click Roll Over to New Quarter
- All companionships are copied, statuses reset
- Starred families with incomplete actions carry over
All API endpoints require Authorization: Bearer YOUR_API_KEY header.
GET /api/companionships
GET /api/companionships?quarter=2026-Q1
GET /api/companionships?status=pendingGET /api/companionships/123Find 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-Q1Returns:
{
"companionships": [...],
"matches": [
{ "searchedFor": "John", "found": "John Smith", "companionshipId": 5 }
],
"searchTerms": ["John", "Jane"]
}POST /api/companionships
Content-Type: application/json
{
"status": "pending",
"quarter": "2026-Q1",
"members": ["Elder Smith", "Elder Jones"],
"families": ["Johnson Family", "Williams Family"]
}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" }
]
}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 /api/companionships/123POST /api/import
Content-Type: application/json
{
"companionships": [
{
"members": ["Elder Smith", "Elder Jones"],
"families": ["Johnson Family", "Williams Family"]
}
],
"clearExisting": false
}{
"companionships": [
{
"status": "pending",
"members": [
{ "name": "Elder Smith", "notes": "EQP" }
],
"families": [
{ "name": "Johnson Family", "contactStatus": "contacted" }
]
}
],
"clearExisting": false
}| Layer | Technology |
|---|---|
| Framework | SvelteKit |
| Styling | Tailwind CSS (dark theme) |
| Database | SQLite + Drizzle ORM |
| Auth | bcrypt password hashing |
| Container | Node 22 Alpine |
Docker images are built for:
linux/amd64β Intel/AMD servers, Intel Macslinux/arm64β Apple Silicon Macs, Raspberry Pi 4+
# Install dependencies
npm install
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview# Bump version and create tag
./scripts/release.sh patch # or minor, major
# Push to trigger Docker build
git push && git push --tagsMIT