Replies: 1 comment 1 reply
-
Hey @sksethi25! Yes, you can definitely do this. The process would look like this for a serverless function:
I will make an example of this soon. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can we use Xstate at backend/server side for state management of an entity
Example: Suppose to build a product like Jira where Issue entity can be moved in various status.
Sample Jira Issue flow

is it feasible and efficient to achieve something like following with Xstate
Deploying Xstate Machine with Node/exrpess.js backed API that creates Issue (Suppose issue in created state) in its initial state and init the Xstate machine and then an API for giving various next Events possible (move to in progress from created state) and another API to initiate that event to make transition to next state( like moving to in progress from qa).
Please guide further if anyone done something like this or any other apporach?
Beta Was this translation helpful? Give feedback.
All reactions