Lately I've been deep in DocArrow, a document and KYC builder I've been building on a Next.js front end with a NestJS API behind it.
The idea is simple: teams design their own document templates and identity-verification flows instead of hard-coding them. Making that flexible took a few deliberate choices:
- PostgreSQL holds the templates and submissions, so every form version stays traceable.
- Redis handles caching and background jobs, so heavy work like generating documents doesn't block the user.
- NestJS modules keep KYC logic, document rendering and auth cleanly separated.
- Everything runs in Docker, so local, staging and production behave the same.
The biggest lesson for me: treat the form schema as data, not code. It keeps the product configurable without a redeploy for every new client requirement. 📄
If you're planning a document-heavy or onboarding workflow and want a second opinion on the architecture, I'm happy to talk it through.