page:blueprints:construction contractors:vendor portal:django

Construction contractors: vendor portal using Django

A vendor portal blueprint for construction contractors built with Django on Ample.

Domain schema:

Public information includes: published project showcases, services and regions, licenses and insurance summary.

Key Points:

Representative Queries:

Resource Requirements:

Infrastructure Requirements:

  1. Compute
    Status: verified
    Summary: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.

  2. Postgres
    Status: verified
    Summary: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied.

  3. S3-compatible object storage
    Status: verified
    Summary: Buckets are S3-compatible with issued credentials.

Prerequisites:

Workflow Steps:

  1. Model the construction contractors domain
    Create the tables listings, agencies, vendors, reports, document_access.

  2. Workflow step 1
    Model vendors scoped to the agency with roles.

  3. Workflow step 2
    Authorize document access by vendor and role (401, 403 negative tests).

  4. Workflow step 3
    Store vendor documents in the private bucket.

  5. Workflow step 4
    Deploy and verify the negative tests and an authorized download.

  6. Deploy
    Run the synchronous deploy once and read the result.

  7. Verify
    Run the pattern self-test(s) from the example and your own acceptance checks for the construction contractors workflow.

Success Checks:

  1. App responds on its public URL.
  2. Private-document-library self-test from the example.

Limitations:

Cost Estimate:

Evidence Summary: