A complete e-commerce platform for selling handcrafted beaded bags with shopping cart functionality, order management, and customer features.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── products.ts # Product API endpoints
│ │ ├── orders.ts # Order API endpoints
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React application
│ │ ├── ProductCard.tsx # Individual product display
│ │ ├── Cart.tsx # Shopping cart component
│ │ └── OrderForm.tsx # Checkout form
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
├── shared/
│ └── types.ts # Shared TypeScript types
└── README.md
GET /api/products - Get all productsPOST /api/products - Add new product (admin)GET /api/orders - Get all orders (admin)POST /api/orders - Place new orderGET /api/orders/:id - Get specific order