Demo product site (Flask)
This small demo serves product list and product detail pages without checkout or payment.
Quick start (macOS / zsh):
- Create and activate a virtual environment (recommended):
uv venv- Install dependencies:
uv sync --locked- Run the site:
uv run main.pyFiles added:
data/products.json— sample product datatemplates/*.html— Jinja2 templates for list and detail pagesstatic/css/styles.css— minimal styling
Notes:
- This is for demonstration only and does not process payments or cart flows.
Bring the app up with docker-compose (builds the image and mounts the project):
docker-compose up --buildStop and remove containers:
docker-compose downThe service listens on port 8000 by default.