Skip to content

canior/fsm-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finite State Machine

Table of Content

Overview

Create a React App for generating an FSM (Finite State Machine)

Demo

demo0 demo1 demo2 demo3 demo4 demo5

Installation and Executing Instruction

  1. Require node 18+
  2. Run npm install on project root
  3. Under project directory npm start

Design Diagram

design_diagram

Tech Skills

  • Typescript Programming
  • React, Redux, Jest, Sass
  • SOLID principle
  • Unit Testing

File Structure

  • /src is the core library
  • /features is the standalone components
  • /features/fsm is the standalone fsm component
  • /features/fsm/assets is fsm scss
  • /features/fsm/components/ is the fsm required components
  • /features/fsm/redux is the reducer
  • /features/fsm/services is fsm logic
  • /tests includes all test suites

Tests

The test suite uses Jest. All test files are under the tests folder.

To run the test suite

npm test -- --verbose

php_test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published