How naxoest/mockup-formulario-adquisiciones works
This is a React/TypeScript frontend for a procurement-management application. Users enter through the routed interface, authenticate, and work with areas including transactions, requirements, analysis, acquisition forms, and administrative maintenance. The sampled transaction flow lists transactions through a feature API and saves transaction changes through a dedicated hook; the shared API client handles HTTP requests. Several domain areas are represented by their exact source directories because their route and implementation files were not sampled, so their internal links are not inferred.
Main entry points: apiClient.ts HTTP client · transacciones.ts Transaction API · main.tsx App bootstrap · route.tsx Authenticated layout
Components 19
Application shell
- App bootstrap
src/main.tsx - Route registry
src/routeTree.gen.ts - Authenticated layout
src/routes/_app/route.tsx - HTTP client
src/lib/apiClient.ts - Shared UI components
src/components/ui
Identity and access
- Authentication
src/features/auth/useAuth.ts - Session API
src/features/auth/api.ts - User administration
src/features/usuarios
Transaction management
- Transactions page
src/routes/_app/transacciones/index.tsx - Transaction API
src/features/transacciones/api/transacciones.ts - Transaction save flow
src/features/transacciones/hooks/useGuardadoTransaccion.ts - Transaction wizard
src/features/transacciones/components/TransaccionWizard
Procurement workflows
- Requirements and imports
src/features/requerimientos - Acquisition forms
src/features/formularios - Catalog maintenance
src/features/mantenedor
Analysis and reporting
- Analysis and reports
src/features/analisis - Home indicators
src/features/inicio
Other components
- User
- Application API
Connections 11
- App bootstrap → Route registry: starts router
src/main.tsx - App bootstrap → HTTP client: configures queries
src/main.tsx - Route registry → Transactions page: registers route
src/routeTree.gen.ts - Authenticated layout → Authentication: reads session
src/routes/_app/route.tsx - Authenticated layout → Shared UI components: renders shell
src/routes/_app/route.tsx - Authentication → Session API: requests login
src/features/auth/useAuth.ts - Session API → HTTP client: sends requests
src/features/auth/api.ts - Transactions page → Transaction API: loads transactions
src/routes/_app/transacciones/index.tsx - Transaction save flow → Transaction API: saves transactions
src/features/transacciones/hooks/useGuardadoTransaccion.ts - Transaction API → HTTP client: sends requests
src/features/transacciones/api/transacciones.ts - HTTP client → Application API: fetches API
src/lib/apiClient.ts