Maybe, I like to pretend it's a flask app and lump anything that models an api resource in the same folder. After all, a Collection is just an array of Models.
What do you think?
Probably should be named TodoCollection.js either way.
What do you think?
Probably should be named TodoCollection.js either way.
As someone looking at this for the first time, even after breezing over the code that was my immediate question: wait, where was the collection again?