This directory contains the backend code for the Toy Store website.
index.ts - Main entry point and API routes using Hono frameworkdatabase/ - Database setup, migrations, and queriesGET /api/categories - Get all product categoriesGET /api/products - Get products with optional filtering
featured, category, limit, searchGET /api/products/:slug - Get a single product by slugGET /api/featured - Get featured productsGET / - HomepageGET /product/:slug - Product detail pageGET /category/:slug - Category page with productsGET /cart - Shopping cart pageGET /contact - Contact pageThe backend serves static files from the /frontend and /shared directories.