Backend path

API routes prepared for a free, security-first Cloudflare deployment.

This site now includes backend endpoints intended for Cloudflare Pages Functions. They expose site metadata, learning tracks, glossary terms, official resources, role maps, and a lightweight search API without collecting personal data.

Endpoints

Available API routes

/api/health

Basic availability and metadata response.

/api/site

Site metadata and dataset counts.

/api/tracks

Returns both learner tracks and their intended outcomes.

/api/resources

Returns official resources. Supports ?category=training, docs, paths, or practice.

/api/glossary

Returns glossary items. Supports ?q=field or any term search.

/api/roles

Returns role maps and role focus areas.

/api/search

Lightweight search across tracks, resources, glossary, and roles. Supports ?q=dashboard and optional ?type=glossary, resource, track, or role.

Security

Backend safety choices

  • No login, session, or account system
  • No form submissions or user-generated content
  • No third-party analytics or ad scripts
  • JSON-only read endpoints for low attack surface
  • Strict edge headers prepared through Cloudflare configuration files

Inference from current official platform docs: Cloudflare Pages Functions plus optional D1 or KV is the strongest fit for this project because it combines a generous free tier, custom domain support, and tight security controls without keeping a traditional VM running.