next js.md

Accounting firms: form collection using Next.js

Summary

A form collection blueprint for accounting firms built with Next.js on Ample. Domain schema:

Infrastructure requirements

Prerequisites

Exact tested configuration

Steps

  1. Model the accounting firms domain. Create the tables client_entities, engagements, document_requests, deliverables, uploads. The businesses and individuals served lives in client_entities; keep the sensitive classes (tax identifiers and financial statements, bank and payroll records, identity documents) out of this schema.
  2. Workflow step 1. Model document requests per engagement with due dates and status.
  3. Workflow step 2. Validate uploaded files (type, size) before storing them in the private bucket and linking them to the request.
  4. Workflow step 3. Authorize uploads by client entity.
  5. Workflow step 4. Deploy and verify rejection of disallowed files and a linked upload.
  6. Deploy. Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
  7. Verify. Run the pattern self-test(s) from the example (/p/browser-file-uploads) and your own acceptance checks for the accounting firms workflow.

Tested examples

Success checks

Limitations

Cost estimate

Estimated 10.00 USD per month (size prices from pricing.toml at build revision a1b8c38919e59cd035ebabaced73cf84ece24371).

Verification evidence