How rprogs/pocket-planner works
Pocket Adviser is a local financial-planning MVP: users enter or review household financial information, explore forecasts and user-directed scenarios, and inspect findings, goals, and guidance. The sampled app excerpt shows route dispatch and findings display; core excerpts show projection and simulated-range calculations, while the README documents additional regulatory and advice-boundary features. Those features are represented at the app level, but their detailed wiring is not established by the excerpts.
Main entry points: app.mjs App shell · storage.mjs State persistence · server.mjs Static file server · core.mjs Simulated range
Components 16
Planning experience
- App shell
src/app.mjs - Financial Life
src/app.mjs - Plan & Forecast
src/app.mjs - Review & Report
src/app.mjs - Decision Lab
src/app.mjs - Goals & Planning
src/app.mjs - Assistant & Guidance
src/app.mjs - Settings
src/app.mjs
Financial analysis
- Planning calculations
src/core.mjs - Financial projection
src/core.mjs - Simulated range
src/core.mjs
Local data
- State persistence
src/storage.mjs - Browser local storage
Local delivery
- Static file server
server.mjs
Other components
- User
- Browser
Connections 14
- User → App shell: uses
- App shell → Financial Life: routes to
- App shell → Plan & Forecast: routes to
- App shell → Review & Report: routes to
- App shell → Decision Lab: routes to
- App shell → Goals & Planning: routes to
- App shell → Assistant & Guidance: routes to
- App shell → Settings: routes to
- App shell → Planning calculations: requests findings
- App shell → State persistence: loads state
- State persistence → Browser local storage: reads and writes
- Simulated range → Financial projection: runs projections
- Static file server → Browser: serves app files
- Browser → Static file server: requests files