Stocks
← Back to Stocks

Stocks

Technical documentation for the Stocks app — a single-page market research dashboard built with vanilla ES modules.

Architecture

Data Pipeline

A scheduled GitHub Actions workflow (.github/workflows/stocks-data.yml) fetches market data and commits it to apps/stocks/data/market.json. The app reads this file, so it works without a backend.

Service Worker

sw.js uses a network-first strategy for market data and cache-first for the app shell, enabling offline access to the last cached snapshot.

Design System

All styling uses the root design tokens from /assets/css/base.css.


← Back to Stocks · README