How westnesss/calculator_and_sum_two_nums works
This is a small React web app organized around a temporary login-to-dashboard flow. The dashboard selects among four exercise modules—sum, calculator, API search, and form—and each can return to the menu. The login and feature screens are explicitly marked as under construction, so the graph reflects navigation rather than completed domain behavior. Source excerpts show the app’s component wiring, but no API calls, persistence, or authentication service.
Main entry points: App.jsx View controller · LoginPage.jsx Login screen · DashboardPage.jsx Dashboard · Suma.jsx Sum module
Components 9
App navigation
- React entry
apps/web/src/main.jsx - View controller
apps/web/src/App.jsx
Pages
- Login screen
apps/web/src/pages/LoginPage.jsx - Dashboard
apps/web/src/pages/DashboardPage.jsx
Exercise modules
- Sum module
apps/web/src/modules/suma/Suma.jsx - Calculator
apps/web/src/modules/calculadora/Calculadora.jsx - API search
apps/web/src/modules/api-search/ApiSearch.jsx - Form module
apps/web/src/modules/formulario/Formulario.jsx
Other components
- User
Connections 14
- React entry → View controller: renders
apps/web/src/main.jsx - View controller → Login screen: renders
apps/web/src/App.jsx - View controller → Dashboard: renders
apps/web/src/App.jsx - View controller → Sum module: renders
apps/web/src/App.jsx - View controller → Calculator: renders
apps/web/src/App.jsx - View controller → API search: renders
apps/web/src/App.jsx - View controller → Form module: renders
apps/web/src/App.jsx - User → View controller: uses
- Login screen → View controller: signals login
apps/web/src/App.jsx - Dashboard → View controller: signals navigation
apps/web/src/App.jsx - Sum module → View controller: signals back
apps/web/src/App.jsx - Calculator → View controller: signals back
apps/web/src/App.jsx - API search → View controller: signals back
apps/web/src/App.jsx - Form module → View controller: signals back
apps/web/src/App.jsx