How luke2905/sistema-avivar works
Avivar is a browser-based operations and management interface for orders, products, inventory, production, purchasing, finance, and Shopee integration. Users sign in, enter a protected workspace, and use routed pages to manage these workflows; pages call a shared authenticated API client. The excerpts show specific order, purchasing, and product-specification actions, while the source index documents additional page-to-API and page-to-modal dependencies. The README is a generic Vite template, so product capabilities are inferred from the source tree; backend behavior is not shown.
Main entry points: App.tsx Route manager · api.ts Authenticated API client · PedidosLista.tsx Order list · Dashboard.tsx Operations dashboard
Components 28
Access and orders
- Route manager
src/App.tsx - Sign in
src/pages/Login.tsx - Home
src/pages/Home.tsx - Operations dashboard
src/pages/Dashboard.tsx - Order list
src/pages/PedidosLista.tsx - Order editor
src/components/ModalNovoPedido.tsx - Order details
src/components/ModalDetalhesPedido.tsx - Printable order
src/components/ImpressoPedido.tsx - Order artwork manager
src/components/GerenciadorArtes.tsx
Inventory and production
- Products
src/pages/Produtos.tsx - Inventory
src/pages/Estoque.tsx - Stock movements
src/pages/Kardex.tsx - Production
src/pages/ProducaoGerar.tsx - Production scanner
src/pages/ProducaoScanner.tsx - Product recipe
src/components/ModalFichaTecnica.tsx - Predictions
src/pages/Predicoes.tsx
Finance and purchasing
- Purchases
src/pages/Compras.tsx - Supplier invoices
src/pages/NotasFiscais.tsx - Expenses
src/pages/Despesas.tsx - Finance
src/pages/Financeiro.tsx - Cash flow
src/pages/FluxoCaixa.tsx - Purchase editor
src/components/ModalNovaCompra.tsx
Shopee integration
- Shopee settings
src/pages/ConfiguracaoShopee.tsx - Shopee sync monitor
src/pages/SincronizacaoShopee.tsx
Shared services
- Authenticated API client
src/services/api.ts - Report exports
src/utils/exportUtils.ts
Other components
- User
- Avivar backend
Connections 48
- User → Sign in: signs in
- User → Route manager: opens workspace
src/App.tsx - Route manager → Sign in: routes to
src/App.tsx - Route manager → Home: routes to
src/App.tsx - Route manager → Operations dashboard: routes to
src/App.tsx - Route manager → Order list: routes to
src/App.tsx - Route manager → Products: routes to
src/App.tsx - Route manager → Inventory: routes to
src/App.tsx - Route manager → Stock movements: routes to
src/App.tsx - Route manager → Production: routes to
src/App.tsx - Route manager → Production scanner: routes to
src/App.tsx - Route manager → Predictions: routes to
src/App.tsx - Route manager → Purchases: routes to
src/App.tsx - Route manager → Supplier invoices: routes to
src/App.tsx - Route manager → Expenses: routes to
src/App.tsx - Route manager → Finance: routes to
src/App.tsx - Route manager → Cash flow: routes to
src/App.tsx - Route manager → Shopee settings: routes to
src/App.tsx - Route manager → Shopee sync monitor: routes to
src/App.tsx - Order list → Order editor: opens editor
src/pages/PedidosLista.tsx - Order list → Order details: opens details
src/pages/PedidosLista.tsx - Operations dashboard → Order editor: opens editor
src/pages/Dashboard.tsx - Operations dashboard → Order details: opens details
src/pages/Dashboard.tsx - Order details → Printable order: renders for printing
src/components/ModalDetalhesPedido.tsx - Order details → Order artwork manager: renders manager
src/components/ModalDetalhesPedido.tsx - Order list → Authenticated API client: requests data
src/pages/PedidosLista.tsx - Order editor → Authenticated API client: saves order
src/components/ModalNovoPedido.tsx - Operations dashboard → Authenticated API client: loads data
src/pages/Dashboard.tsx - Products → Authenticated API client: requests data
src/pages/Produtos.tsx - Inventory → Authenticated API client: requests data
src/pages/Estoque.tsx - Stock movements → Authenticated API client: requests data
src/pages/Kardex.tsx - Production → Authenticated API client: requests data
src/pages/ProducaoGerar.tsx - Production scanner → Authenticated API client: requests data
src/pages/ProducaoScanner.tsx - Product recipe → Authenticated API client: reads and updates
src/components/ModalFichaTecnica.tsx - Purchases → Authenticated API client: requests data
src/pages/Compras.tsx - Supplier invoices → Authenticated API client: requests data
src/pages/NotasFiscais.tsx - Purchase editor → Authenticated API client: saves purchase
src/components/ModalNovaCompra.tsx - Expenses → Authenticated API client: requests data
src/pages/Despesas.tsx - Finance → Authenticated API client: requests data
src/pages/Financeiro.tsx - Cash flow → Authenticated API client: requests data
src/pages/FluxoCaixa.tsx - Predictions → Authenticated API client: requests data
src/pages/Predicoes.tsx - Shopee settings → Authenticated API client: requests data
src/pages/ConfiguracaoShopee.tsx - Shopee sync monitor → Authenticated API client: requests data
src/pages/SincronizacaoShopee.tsx - Sign in → Authenticated API client: authenticates
src/pages/Login.tsx - Authenticated API client → Avivar backend: sends API requests
src/services/api.ts - Finance → Report exports: exports reports
src/pages/Financeiro.tsx - Order list → Report exports: exports orders
src/pages/PedidosLista.tsx - Purchases → Purchase editor: opens editor
src/pages/Compras.tsx