Independent Project
Interactive System Schematic
VISUAL DAG WORKFLOWSLive flow
My Role
Systems & Frontend Canvas Architect
Constraint
Problem
Teams building internal automations need visual transparency, strict cycle safety, encrypted API credentials, and manual approval pauses before risky external side effects.
Approach
Solution
Created a full-stack visual DAG automation studio with Next.js 16 + @xyflow/react v12 on the frontend and a NestJS orchestrator handling graph validation, encrypted secrets, webhook triggers, AI/HTTP/branching nodes, and persistent WAITING_APPROVAL resume checkpoints.
Tech Stack
Nest.js
Prisma
PostgreSQL
Next.js
React
Typescript
Tailwind CSS
Jest
Playwright
Description
FlowForge AI combines a visual node canvas with a deterministic server-side DAG execution engine.
- Visual node graph editor powered by @xyflow/react v12 with live step execution traces.
- Kahn's algorithm validation blocking cycles and unconfigured failure paths before execution.
- Human-in-the-loop WAITING_APPROVAL pause/resume state persisted in database.
- AES-256-GCM encrypted credential vault plus n8n workflow JSON import/export.
Responsibilities
- Engineered DagValidatorService with Kahn topological cycle detection and HTTP error-branch enforcement.
- Implemented DagRunnerService supporting webhooks, schedules, HTTP calls, conditional routers, and human approvals.
- Built an AES-256-GCM credential vault with strict secret redaction across logs and API responses.
- Added bidirectional n8n workflow JSON import/export interoperability and 4/4 Jest integration tests.
Split-Pane Inspector
Compare or peek another case study
Open a sliding side pane to compare architecture and outcomes alongside FlowForge AI: Visual DAG & Agent Workflow Studio.