my-homelab-configs/apps/nextpath/README.md

2.3 KiB

NextPath Arizona

NextPath is a privacy-conscious career exploration application for teenagers and adults considering a first or different career. The Arizona MVP connects four kinds of evidence without pretending they are interchangeable:

  1. a person's interests and practical preferences;
  2. occupations described with O*NET-SOC identifiers;
  3. Arizona education, training, and apprenticeship options;
  4. Arizona labor-market outlook and recent example job postings.

The product does not calculate a person's probability of being hired. It publishes a transparent Arizona employability outlook percentage comparing annual completions, projected annual openings, and current occupation postings. Raw counts, dates, geography, sources, and limitations remain visible beside the percentage.

See the architecture document for the MVP boundaries and delivery slices.

Deploy

NextPath is a public work in progress. Deploy it from the Debian control plane:

./jeannie deploy-nextpath

The service runs under systemd, stores private account data in /data/homelab-nextpath/data, and exposes only its HTTP port to the tailnet/LAN. The OCI edge supplies public TLS at https://nextpath.lab2025.duckdns.org/. Redeployments never recreate the account store. Jeannie migrates the original manual-preview file from /data/homelab-nextpath/accounts.json when needed and writes a mode-0600 pre-deploy backup under /data/homelab-nextpath/backups.

Enable the Arizona employability outlook

College Scorecard completion data is public. Projected openings and current postings use the official CareerOneStop API, which requires a free API user ID and token. Supply them only for the first deployment (or when rotating them):

read -r -p "CareerOneStop user ID: " career_user
read -r -s -p "CareerOneStop API token: " career_token; echo
LAB_NEXTPATH_CAREERONESTOP_USER_ID="$career_user" \
LAB_NEXTPATH_CAREERONESTOP_API_TOKEN="$career_token" \
  ./jeannie deploy-nextpath
unset career_user career_token

Jeannie stores the values in private mode-0600 files, refreshes evidence once immediately, and installs a daily systemd timer. Later deployments reuse the private credentials and the last successful evidence snapshot. Neither values nor raw source responses are exposed to browsers.