Frontend

Using https://reactflow.dev/ to create the editor page.

Backend

Screenshot 2025-09-09 at 1.09.09 PM.png

Database

Screenshot 2025-09-11 at 8.16.50 PM.png

Database

  1. Their DB uses TypeORM.
  2. Workflow Table schema - https://github.com/n8n-io/n8n/blob/3908f740ffcecd70d7899a566860a5626303c8d4/packages/%40n8n/db/src/entities/workflow-entity.ts
  3. Users table - https://github.com/n8n-io/n8n/blob/3908f740ffcecd70d7899a566860a5626303c8d4/packages/%40n8n/db/src/entities/user.ts
  4. Credentials table - https://github.com/n8n-io/n8n/blob/3908f740ffcecd70d7899a566860a5626303c8d4/packages/%40n8n/db/src/entities/credentials-entity.ts

Routes

  1. Webhook handler - https://github.com/n8n-io/n8n/blob/3908f740ffcecd70d7899a566860a5626303c8d4/packages/cli/src/webhooks/webhook-request-handler.ts
  2. Webhook handler 2 - https://github.com/n8n-io/n8n/blob/3908f740ffcecd70d7899a566860a5626303c8d4/packages/cli/src/webhooks/webhook-request-handler.ts