This template shows simple implementation of a constant unidirectional graph data structure
-
Breadth First search This is to primarily find all possible nodes based on a certain condition
-
Depth First search This is to primarily find the first available path to a node based on certain conditions
Docker is the recommended way to run this project
In the root of the project run:
docker-compose up
In the root of the project run:
npm i --save
npm run start:dev
npm run test
Once run is complete, view the Swagger API docs, follow this link: http://localhost:3000/docs
-
POST /rules-status-prediction/status Return all the possible next statuses after a rule
-
POST /rules-status-prediction/status Return the first availabe path to a given status based on a rule
-
GET /rules-status-prediction/show Show the graph data structures used