Atlanta, USA
Last updated: 2026-06-14
Beginner-friendly React dashboard that starts empty and loads stock analytics on demand with one Load Data button.
- Placeholder-first UI: all cards and charts initially show
No data loaded yet. - Single-click load flow updates all visualizations simultaneously.
- Dashboard reads same-origin stock snapshot data (
src/data/stocks-snapshot.json) generated server-side. - Technical indicators include plain-language descriptions and source links:
- Volatility (how much the price fluctuates)
- Beta (sensitivity to the overall market)
- Max Drawdown (largest loss in a period)
- Beginner visuals:
- Stock summary cards (name, current price, risk level, potential gain)
- Bar chart comparing risk vs. potential return
- Traffic-light signal (green / yellow / red)
- React + Vite
- Material UI
- Chart.js + react-chartjs-2
- Server-side stock snapshot generator (
scripts/update-stock-snapshot.mjs) - Daily GitHub Actions snapshot refresh (
.github/workflows/update-stock-snapshot.yml)
npm install
npm run devnpm run buildPages base path is set for this repository (/stocks-101-dashboard/).
GitHub Pages is deployed by the workflow at .github/workflows/deploy-pages.yml.
- Open the repository settings on GitHub.
- Set Pages source to
GitHub Actions. - Push to
mainor run the workflow manually. - The workflow builds
dist/and publishes the site from the latest successful run.
- Trigger manually from the
Update Stock Snapshotworkflow. - Scheduled on weekdays to refresh
src/data/stocks-snapshot.json. - The app uses this same-origin snapshot at runtime, so the browser does not call third-party APIs directly.
npm run build