State machine with adonis?


how to implement state machine?


The topic has been flagged and unlisted. Make sure to create proper questions with enough context and steps you have taken so far.

Widely open questions are likely to get less replies


I think for you should explain us what’s the purpose of javascript-state-machine.

If it’s packages like lodash that doesn’t need any config.

You can just use it as follows:

var StateMachine = require('javascript-state-machine');

if it needs configuration, you can check:



State machine is good to build an ecommerce.Look at this:


Topic has been closed, since the author of the topic is only interested in sharing links and expecting others to read and write code for him