A modern web-based canteen management system with QR code ordering for college canteens.
āāā backend/
ā āāā database/
ā ā āāā migrations.ts # Database schema setup
ā ā āāā queries.ts # Database query functions
ā āāā routes/
ā ā āāā admin.ts # Admin panel routes
ā ā āāā menu.ts # Menu management routes
ā ā āāā orders.ts # Order management routes
ā ā āāā tables.ts # Table management routes
ā āāā index.ts # Main API entry point
āāā frontend/
ā āāā components/
ā ā āāā Admin/ # Admin panel components
ā ā āāā Customer/ # Customer interface components
ā ā āāā Shared/ # Shared UI components
ā āāā index.html # Main HTML template
ā āāā index.tsx # Frontend entry point
āāā shared/
āāā types.ts # Shared TypeScript types
/admin to set up menu items and tablesGET /api/menu - Get all menu itemsPOST /api/menu - Add new menu itemPUT /api/menu/:id - Update menu itemDELETE /api/menu/:id - Delete menu itemGET /api/orders - Get all orders (admin)POST /api/orders - Place new orderPUT /api/orders/:id/status - Update order statusGET /api/tables - Get all tablesPOST /api/tables - Add new tableGET /api/tables/:id/qr - Get QR code for table