When writing an application you start by asking yourself what actions are taken by the actors (aka accounts)... After you have defined these things you specify the logic that transforms database state based upon an incoming action.
So this looks similar to redux in the react world with actions that triggers reducers to perform some changes on state. Is this accurate?