Docs
Documentation & Architecture
The technical baseline the boilerplate gives you, in three steps. Technical starting point only — not a compliance certification and not legal advice.
Built for Auditors. Engineered for Builders.
A transparent look at the architecture and the exact code that makes the audit trail immutable.
Next.js 15
Frontend
AWS ECS Fargate
Compute
Audit Logs (Append-only Triggers)
AWS RDS PostgreSQL
Encrypted via KMS
001_base_schema.sql
CREATE OR REPLACE FUNCTION prevent_audit_mod() RETURNS TRIGGER AS $$ BEGIN RAISE EXCEPTION 'Audit logs are immutable'; END; $$ LANGUAGE plpgsql;1. AWS BAA Setup
Log into AWS Artifact, navigate to Agreements, and accept the BAA.2. Database Immutability
Our PostgreSQL triggers physically block UPDATE and DELETE on audit_logs.3. Deployment
Run `npm run build`, push to ECR, and deploy via ECS Fargate.Ready to ship? See the boilerplate.