server/: native Go server, auth/db layers, route/bootstrap handlers, and server-owned sqlite assets
docs/: example documentation, screenshots, and local helper scripts
This is the current production-shaped reference server example for the repo.
Current Status
Atlas is the largest integrated example in the repo and the main production-shaped server plus hydration reference.
It combines request-time route metadata and bootstrap payloads, browser hydration, same-origin APIs and mutations, CSRF-protected forms, sqlite-backed server state, and a shared page tree used by both paths.
The detailed project guide, route-data notes, and server contract live under docs/ and server/README.md; this file is the entrypoint.
Where To Start
Start with docs/README.md for the full project guide and Atlas-specific notes.
Open server/README.md when you want the concrete run flow, endpoints, and mutation rules.
Open docs/ATLAS_ROUTING_DATA_BASELINE.md when you need the route, bootstrap, cache, and derived-state contract behind the rewrite.
What Atlas Demonstrates
one Atlas page tree shared by the server route payloads and the browser hydration pass
server-rendered head metadata plus a __ATLAS_BOOTSTRAP__ payload for public storefront and internal operations routes; the document body ships as an empty <div id="app"></div> and all visible markup comes from client-side wasm hydration
same-origin JSON and HTML-post mutation flows
sqlite-backed state with mock auth and CSRF validation
a larger multi-surface example that exercises routing, forms, fetch, state transfer, diagnostics, and deployment concerns together
Structure
Use the folders this way:
client/: hydration entrypoint that renders the Atlas shell from the request-time bootstrap payload
shared/: shared page tree, route payloads, repository contracts, tokens, and helper logic used by both server and browser paths
server/: native server, data layer, route metadata and bootstrap handlers, auth and CSRF flows, static assets, and API endpoints
docs/: Atlas-specific planning notes, rewrite baselines, screenshots, and local helper scripts
Package bootfallback owns every byte of JavaScript the Atlas document ships, and every byte of markup that JavaScript reveals when the client cannot start.
Package bootfallback owns every byte of JavaScript the Atlas document ships, and every byte of markup that JavaScript reveals when the client cannot start.
Package design is Atlas Commerce OS's design system, authored entirely in Go on top of the repo's typed-CSS package (github.com/monstercameron/GoWebComponents/v5/css).
Package design is Atlas Commerce OS's design system, authored entirely in Go on top of the repo's typed-CSS package (github.com/monstercameron/GoWebComponents/v5/css).