Simple E-commerce Website

A basic e-commerce website that displays products and simulates purchases.

Features

  • Product listing with images, names, and prices
  • Purchase simulation with transaction logging
  • Simple, clean design with CSS styling
  • SQLite database for storing products and transactions

Structure

  • backend/index.ts - Main Hono server with API routes
  • backend/database/ - Database setup and queries
  • frontend/ - HTML, CSS, and JavaScript for the website
  • shared/ - Shared types and utilities

Usage

The main entry point is backend/index.ts which serves both the API and static files.