Level 9 · Build your own Health OS — the build · 9.2

Functions as an API — and the public/private split

This is where the static Health OS site turns into a system with its own API. You learn how Cloudflare Pages Functions serve that API, where the one rule that protects private data should live, and how to offer a public view without exposing anything personal. For people building their own small backend on Cloudflare.

What's inside

  1. Routes
  2. One rule in one place
  3. Public data without leaks
  4. Two common time sinks
This is a Members’ lesson. The full lesson is open to Flowsmith Academy members. If you are a member, open it and sign in with your e-mail address. If not, the access page explains what is always free and what membership adds.