page:blueprints:bookkeeping practices:client portal:django

Bookkeeping practices: Client portal using Django

Summary

A client portal blueprint for bookkeeping practices built with Django on Ample. Domain schema:

Public information includes service packages and cadence, onboarding checklist, and contact details. Sensitive items kept out of scope until handling is reviewed include bank statements and receipts, payroll data, and login credentials for accounting software. Never store client accounting-software credentials in these flows; these financial records are sensitive and no compliance is claimed.

Technical basis verified on Django:

Representative Queries

Prerequisites

Workflow Steps

  1. Model the bookkeeping practices domain: Create the tables client_entities, engagements, document_requests, close_checklists, document_access. Keep the sensitive classes (bank statements and receipts, payroll data, login credentials for accounting software) out of this schema.
  2. Workflow step 1: Model client entities and engagement periods; every document belongs to one engagement.
  3. Workflow step 2: Authorize by client entity and role before any storage access (401 without identity, 403 for the wrong client).
  4. Workflow step 3: Store documents in the private bucket and stream them through the app.
  5. Deploy: Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
    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=..."
    
  6. Verify: Run the pattern self-test(s) from the example (/p/private-document-library) and your own acceptance checks for the bookkeeping practices workflow.
    ample logs  --kind build
    

Tests and Limitations

Success Checks

Limitations