# CareHome Jobs — Assisted Living / Retirement Home Job Engine

A static, Cloudflare Pages-ready job board for assisted living, retirement home, memory care, independent living, and senior living roles.

## What is included

- `index.html` — the main landing page and job board layout.
- `styles.css` — responsive styling inspired by the clean dark-hero/job-card pattern of Cryptocurrency Jobs, but rebuilt from scratch for senior care.
- `app.js` — client-side job rendering, search, filtering, sorting, counts, and job detail modal.
- `data/jobs.json` — the source-of-truth job listing dataset.
- `data/jobs.csv` — optional spreadsheet-friendly starter version.
- `data/facilities.json` — featured facility counts for homepage stats.
- `assets/images/` — the royalty-free images you uploaded.
- `docs/DATASET_GUIDE.md` — how to update or replace the dataset.

## How to update jobs

Edit `data/jobs.json`. Add, remove, or update job objects. The page automatically reads that file on load and rebuilds the filters/cards.

Required fields:

```json
{
  "id": "unique-job-slug",
  "featured": true,
  "new": false,
  "title": "Resident Care Aide",
  "company": "Sunrise Harbor Senior Living",
  "facilityType": "Assisted Living",
  "location": "Lewes, DE",
  "region": "Delaware",
  "workType": "Full-time",
  "schedule": "Day shift",
  "category": "Caregiving",
  "salary": "$18 - $22/hr",
  "posted": "2026-06-16",
  "tags": ["CNA preferred", "Benefits"],
  "description": "Short job description.",
  "applyUrl": "https://example.com/apply"
}
```

## Better production data options

The current build uses `data/jobs.json` because it is simple and cheap. For a real marketplace, use one of these:

1. **Algolia** — closest to the Cryptocurrency Jobs style for fast search/filtering at scale.
2. **Airtable or Google Sheets + build script** — easiest admin workflow for a small team.
3. **Supabase / Firebase / Cloudflare D1** — better if employers will self-submit and manage jobs.
4. **Greenhouse/Lever/Ashby scraping/importer** — useful for automatically pulling listings from facility career pages, but you must respect each site’s terms and robots rules.

## Cloudflare Pages deploy from CMD

```cmd
cd assisted-living-job-engine
npx wrangler pages deploy . --project-name carehome-jobs-demo --branch main
```

No build step is required.

## Local preview

From the project folder:

```cmd
python -m http.server 8080
```

Then open `http://localhost:8080`.

