What is the difference between Controllers and Services in Node REST API's?

added by JavaScript Kicks
2/5/2019 8:04:51 AM

507 Views

If you've built out a REST API in Node (or other languages, for that matter), you've likely used the concept of "controllers" to help organize your application. Maybe you put your calls to your database or models there, called some other endpoints, and added some business logic to process the returns.


0 comments