Skip to content

Repository files navigation

Demo product site (Flask)

This small demo serves product list and product detail pages without checkout or payment.

Quick start (macOS / zsh):

  1. Create and activate a virtual environment (recommended):
uv venv
  1. Install dependencies:
uv sync --locked
  1. Run the site:
uv run main.py
  1. Open http://127.0.0.1:8000/products

Files added:

  • data/products.json — sample product data
  • templates/*.html — Jinja2 templates for list and detail pages
  • static/css/styles.css — minimal styling

Notes:

  • This is for demonstration only and does not process payments or cart flows.

Docker

Bring the app up with docker-compose (builds the image and mounts the project):

docker-compose up --build

Stop and remove containers:

docker-compose down

The service listens on port 8000 by default.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages