Ok this seems not too difficult. The motor comes with a pair of quadrature sensors that give 7 pulses per revolution (an odd number, but whatever) giving you an accuracy of at best 12.8 degrees.
The motor controller - Jeez, that’s a lot of pins. Do you already have code that makes it go? If it’s just a matter of counting quadrature pulses and you can supply a set of forward/reverse/stop functions that other code can call, then that’s reasonably straightforward. If you need code to actually talk to the board so it understands, that might be a bit more involved. Did you need some sort of soft start/stop?
In any case, quadrature code is not difficult. First, debounce your inputs. You’ll have an A and a B that will do this.
Note that when there’s a change, either A changes or B changes. If A changes, then if the new value of A==B, increment the counter, otherwise decrement it. If B changes, then if the new value of B==A, decrement the counter, otherwise increment it.
Once you have worked out which way around forward and reverse are, then in your loop you put the motor in forward (or reverse) and wait for the counter to be >= (or <=) your target.
It might be easier to post the code you want modified.