How verupakshasharma9/blue-water-capital works
Blue Water Capital is a browser-based trading risk/reward planner with a journal and settings screen. Users enter a prospective trade in the planner, which requests strike recommendations from calculation logic; they can also review journal entries and manage journal backups through settings. The app shell switches between these screens and supplies the animated background. The excerpts establish the journal and settings’ calls to local storage, but do not show the planner’s save call, so that relationship is omitted. Evidence is limited to the supplied excerpts and source index.
Main entry points: App.tsx App shell · Settings.tsx Journal settings · db.ts Journal storage · Navbar.tsx Tab navigation
Components 11
App shell
- App shell
src/App.tsx - Tab navigation
src/components/Navbar.tsx - Animated background
src/components/Background3D.tsx - React entry point
src/main.tsx
Trade planning
- Trade planner
src/components/TradePlanner.tsx - Plan calculations
src/utils/calculations.ts
Journal and settings
- Trade journal
src/components/Journal.tsx - Journal settings
src/components/Settings.tsx - Journal storage
src/utils/db.ts
Other components
- Trader
- Browser IndexedDB
Connections 13
- Trader → App shell: uses
- React entry point → App shell: renders
src/main.tsx - App shell → Tab navigation: renders
src/App.tsx - App shell → Animated background: renders
src/App.tsx - App shell → Trade planner: renders
src/App.tsx - App shell → Trade journal: renders
src/App.tsx - App shell → Journal settings: renders
src/App.tsx - Tab navigation → App shell: changes tab
src/components/Navbar.tsx - Trade planner → Plan calculations: gets strikes
src/components/TradePlanner.tsx - Trade journal → Journal storage: fetches entries
src/components/Journal.tsx - Journal settings → Journal storage: reads, imports, clears
src/components/Settings.tsx - Journal settings → App shell: notifies changes
src/components/Settings.tsx - Journal storage → Browser IndexedDB: reads and writes
src/utils/db.ts