1

I want to create a workflow automation where an activity comes in and user can setup a multilevel workflow.

For frontend i am using https://reactflow.dev

How to structure things in nodejs backend. Things like database, accessing control flow statements, statements which requires crons.

workflow

  • This is a very broad question, and also kind of the essence of 'software engineering'. I don't think Stackoverflow is the right place to ask this kind of question. – Halcyon Sep 05 '22 at 14:45
  • You also may want to have a look at node-red. Which doesn't look as fancy, but it's basically a finished product that does exactly that. There's a set of built-in nodes. You can develop your own nodes, or import 3rd party ones. You can also just create a node with javascript or typescript code in it, on the fly. – bvdb Sep 05 '22 at 14:55

2 Answers2

1

You also may want to have a look at node-red.

It's an open-source product that does exactly that.

  • There's a set of built-in nodes.
  • You can develop your own nodes, or import 3rd party ones. Which are stored in NPM.
  • You can also just create a node with javascript or typescript code in it, on the fly.

Screenshot

bvdb
  • 22,839
  • 10
  • 110
  • 123
0

You should check Flumejs: https://flume.dev/ https://flume.dev/docs/quick-start/

Also you should see this code sandbox example. Try to read the code and all the dependencies: https://codesandbox.io/s/node-based-code-generation-test-forked-ll9flz?file=/src/App.tsx

I hope you find this helpful.

kost
  • 705
  • 7
  • 18