Experiments with XState to build a Svelte Library of a student learning experience and data capture system.
$ git clone https://github.com/oele-isis-vanderbilt/xstate-quiz-machine.git
$ cd xstate-quiz-machine
$ pnpm install
To run the demo application, execute the following command:
$ pnpm dev
This will start a local development server, and you can access the application at http://localhost:5173
.
The quiz machine is a state machine that manages the flow of a quiz experience. It has the following states and substates(Better suited for a diagram):