page:blueprints:equipment rental:product catalog:django

Equipment Rental: Product Catalog using Django

A product catalog blueprint for equipment rental built with Django on Ample. Domain schema:

Public information: equipment catalog and rates, availability calendar, deposit and insurance terms. Kept out of scope until handling is reviewed: renter identity documents, payment and deposit details. Identity verification and deposits are outside these flows; only availability and rental status are modeled.
Technical basis verified on Django: an optimistic version check and an event row written in the same transaction, a stale update rejected, and a history query over the application-owned events (history=2 conflict=rejected).

Representative Queries

Resource Requirements

Workflow Steps

  1. Model the equipment rental domain: Create the tables equipment, stock_movements, rentals, rental_lines, events. Rental catalog lives in equipment; keep the sensitive classes (renter identity documents, payment and deposit details) out of this schema.
  2. Model the SKU catalog with versioned updates.
  3. Record every catalog change as an event in the same transaction.
  4. Reject stale concurrent updates.
  5. Deploy and verify history and conflict handling.
  6. Deploy: Run the synchronous deploy once and read the result.
    ample deploy . --name --public --start "python3 run.py" --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=..."
    
  7. Verify: Run the pattern self-test(s) from the example (/p/transactional-workflows) and your own acceptance checks for the equipment rental workflow.
    ample logs --kind build
    

Limitations

Cost Estimate

Success Checks