How alanrm1/proyectofinalbackend works
Papel & Tinta is a client-side bookstore and stationery management frontend. A user opens the dashboard, navigates to a business area, and works with in-memory records held by the central React App; sales and service records also contribute to cash movements and dashboard/report summaries. The README lists inventory, sales, services, cash movements, reports, and a demo users view. The app seeds state from local demo data and does not persist changes or use a backend. Unsampled page internals limit confirmation of some callback and data-flow details; those links are omitted where not evidenced.
Main entry points: App.jsx App state and routing · Icono.jsx Icon renderer · Inventario.jsx Inventory catalog · main.jsx React entry
Components 15
Application shell
- React entry
src/main.jsx - App state and routing
src/App.jsx
Business operations
- Inventory catalog
src/pages/Inventario.jsx - Product editor
src/components/ModalProducto.jsx - Point of sale
src/pages/Ventas.jsx - Service records
src/pages/Servicios.jsx - Cash movements
src/pages/Movimientos.jsx - Team view
src/pages/Usuarios.jsx
Dashboard and reports
- Business dashboard
src/pages/Inicio.jsx - Financial reports
src/pages/Reportes.jsx
Shared interface
- Sidebar navigation
src/components/BarraLateral.jsx - Page header
src/components/Cabecera.jsx - Icon renderer
src/components/Icono.jsx
Session data
- Demo initial records
src/datos/datosIniciales.js
Other components
- Store operator
Connections 23
- Store operator → React entry: opens app
README.md - React entry → App state and routing: renders
src/main.jsx - App state and routing → Demo initial records: initializes state
src/App.jsx - App state and routing → Sidebar navigation: renders navigation
src/App.jsx - App state and routing → Page header: renders header
src/App.jsx - App state and routing → Business dashboard: renders dashboard
src/App.jsx - App state and routing → Inventory catalog: renders inventory
src/App.jsx - App state and routing → Point of sale: renders sales
src/App.jsx - App state and routing → Service records: renders services
src/App.jsx - App state and routing → Cash movements: renders movements
src/App.jsx - App state and routing → Financial reports: renders reports
src/App.jsx - App state and routing → Team view: renders users
src/App.jsx - Inventory catalog → Product editor: opens editor
src/pages/Inventario.jsx - Sidebar navigation → Icon renderer: renders icons
src/components/BarraLateral.jsx - Page header → Icon renderer: renders icons
src/components/Cabecera.jsx - Product editor → Icon renderer: renders icons
src/components/ModalProducto.jsx - Inventory catalog → Icon renderer: renders icons
src/pages/Inventario.jsx - Business dashboard → Icon renderer: renders icons
src/pages/Inicio.jsx - Point of sale → Icon renderer: renders icons
src/pages/Ventas.jsx - Cash movements → Icon renderer: renders icons
src/pages/Movimientos.jsx - Financial reports → Icon renderer: renders icons
src/pages/Reportes.jsx - Service records → Icon renderer: renders icons
README.md - Team view → Icon renderer: renders icons
README.md