re: Designing a better architecture for a Node.js API VIEW POST


Nice post
However your get() method in the Controller class refers to a method on the service instance also called get() which doesn't exist. Service class has getAll, insert, update and delete methods but not get


Thank you for seeing that Ben, I was trying to reduce the functions because the post does was very long but I've forgotten to remove this one too.
I've updated the post now.

code of conduct - report abuse