How intellishore/agent-workshop-template works
This is a minimal FastAPI + React workshop template: the page checks API health on load or on button press, then displays the returned status or an error. The browser entry point mounts the page; its request reaches FastAPI through the documented Vite development proxy. The sampled code shows no persistence or other domain stages. The graph captures the working vertical slice and its reusable button; evidence is limited to the README and the sampled source files.
Main entry points: app.tsx Health page · main.tsx React entry · vite.config.ts API proxy · main.py Health endpoint
Components 6
Web client
- React entry
apps/web/src/main.tsx - Health page
apps/web/src/app.tsx - UI button
apps/web/src/components/ui/button.tsx - API proxy
apps/web/vite.config.ts
API service
- Health endpoint
apps/api/src/api/main.py
Other components
- Browser
Connections 6
- Browser → React entry: opens page
README.md - React entry → Health page: renders
apps/web/src/main.tsx - Health page → UI button: renders
apps/web/src/app.tsx - Health page → API proxy: fetches health
apps/web/src/app.tsx - API proxy → Health endpoint: proxies request
README.md - Health endpoint → Health page: returns status
apps/api/src/api/main.py