A comprehensive shipping operations management system built on Val Town.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── shipments.ts # Shipment CRUD operations
│ │ ├── tracking.ts # Tracking endpoints
│ │ ├── routes.ts # Route optimization
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application component
│ │ ├── Dashboard.tsx # Operations dashboard
│ │ ├── ShipmentForm.tsx # Create/edit shipments
│ │ ├── TrackingView.tsx # Shipment tracking interface
│ │ └── RouteMap.tsx # Route visualization
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
├── types.ts # Shared TypeScript interfaces
└── utils.ts # Shared utility functions
GET /api/shipments - List all shipmentsPOST /api/shipments - Create new shipmentGET /api/shipments/:id - Get shipment detailsPUT /api/shipments/:id - Update shipmentDELETE /api/shipments/:id - Delete shipmentGET /api/tracking/:trackingNumber - Track shipmentPOST /api/routes/optimize - Calculate optimal routeGET /api/carriers - List available carriers