Adding Controllers | Creating a REST API with Node.js. Thus far, all our logic resides in the route files. Let's split it up and add some controllers to the Node RESTful API!
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/13-controllers
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Tags: Adding Controllers | Creating a REST API with Node.js, node, node.js, rest, restful, rest api, tutorial, controllers, express