I am doing the node course and I am enjoying it very much.
I would like to outsource the logic outside the router.
In other frameworks it would usually made by creating a class (for expample: movieController). I am new to js and node and wonder what is the best practice in node. In the course I couldn’t find any reference to controllers
- Should I create a controller ?
- How to create movieController to the vidly backend propely?
- Is it possible to add a lecture about controllers in express ?
I love the course!