A comprehensive inventory tracking and stock movement control system for wholesale businesses.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── products.ts # Product CRUD operations
│ │ ├── movements.ts # Stock movement operations
│ │ ├── suppliers.ts # Supplier management
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono app entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React app
│ │ ├── Dashboard.tsx # Dashboard overview
│ │ ├── ProductList.tsx # Product management
│ │ ├── StockMovements.tsx # Stock movement tracking
│ │ └── Reports.tsx # Reporting interface
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared TypeScript types
GET /api/products - List all productsPOST /api/products - Create new productPUT /api/products/:id - Update productDELETE /api/products/:id - Delete productGET /api/movements - List stock movementsPOST /api/movements - Record stock movementGET /api/suppliers - List suppliersPOST /api/suppliers - Create supplierGET /api/dashboard - Dashboard data