Cloudflare Pages Static Site Starter

Launch a polished healthcare intelligence site with plain web files.

This starter keeps the shape simple: root-level HTML, CSS, and JavaScript, a top-level functions/ folder for Pages Functions, and a GitHub-friendly deployment flow that mirrors the flat structure used in spaitialintel.

Root-Level
Static pages and assets
Functions
Cloudflare Pages API support
GitHub
Clean repository deployment
No Build
Plain HTML, CSS, JavaScript

What's Included

A static-first project shape that stays easy to maintain.

Keep the core site readable at a glance while leaving room for edge functions, legal pages, images, and future standalone report views.

Flat File Layout

Root-level pages like index.html, 404.html, style.css, and script.js.

Pages Functions Ready

Add lightweight endpoints in functions/ without changing the static site architecture.

Deployment Friendly

GitHub and Cloudflare Pages work cleanly when the repo root is the deployable static output.

Suggested Folders

Recommended structure for a site modeled after spaitialintel.

.
|-- functions/
|-- images/
|-- legal/
|-- index.html
|-- 404.html
|-- style.css
|-- script.js
|-- _headers
|-- .dev.vars.example
`-- wrangler.toml

Keep the root focused on the primary experience. Use folders only when they group a clear content area like images, legal pages, or API logic.

Deployment

Prepared for GitHub and Cloudflare Pages.

GitHub

Initialize the repo, commit the scaffold, and push to your default branch.

Cloudflare Pages

Use no framework preset, no build command, and set the output directory to ..

Function Status

Checking /api/health...