← Back to OverviewReal Project
/CASE STUDY · 2025
InvDocs— Digital Archive & Document Workflow
Structured digital document archiving and management system for organizations with file encryption and role-based access control (RBAC).
Role
- Fullstack Development
- RBAC
- Metadata Indexing
Timeline
2025
Studio
Independent
Deliverables
- Structured archive with metadata search
- RBAC down to the document level
- Encrypted upload pipeline
- Audit trail
Stack
Next.jsExpress.jsPostgreSQLPrisma ORMTailwind CSS
corecraft.my.id/work/invdocs
Fullstack
Structured archive with metadata-driven search.
/01 THE PROBLEM
Problem & Friction
Administrative records lived in physical binders, so retrieving a single old document could take hours and nothing recorded who had touched it.
< 3sRetrieval, down from hours
RBACEnforced to the document level
EncryptedUploads, with a full audit trail
/02 SYSTEM DESIGN & ARCHITECTURE
Architectural Breakdown
- Next.js front end over an Express.js API
- PostgreSQL with Prisma ORM and metadata-driven indexing
- Role-based access control evaluated per document
- Encrypted file storage with a full audit trail
/03 IMPLEMENTED SOLUTIONS
Resilience & Outcomes
- Documents are described by structured metadata, so search runs against the database instead of a shelf.
- Permissions are checked before a file is streamed, not after.
- Every read and write is logged, so the archive can answer who accessed what.
/DEEP DIVE SCREENS
Technical Interface & Terminal Views
Role-based access control down to the document level.
Encrypted uploads with a full audit trail.