Closed adameza closed 2 years ago
Also, sorry one more comment: make sure to write some unit tests!
Glad to see a PR out for this. Good first iteration on the task!
@bglossner got the tests to work with the express router. I have omitted the isUserAdmin middleware function because the tests are required to pass for a commit.
@bglossner split up the tests and did without the getShiftTime() function
issue #11, I added placeholders for the 'Database' abstract class and the 'isUserAdmin' middleware function. The implementation was pretty much just to make the linter happy. 'shift-api' and 'shift-interface' are the real features.