js-data / js-data-examples

Example client-side and server-side apps that use various combinations of js-data and its adapters.
MIT License
40 stars 15 forks source link

Architectural confuse #10

Open Piterden opened 6 years ago

Piterden commented 6 years ago

This is the controller with the routing: https://github.com/js-data/js-data-examples/blob/master/server/sql/app/app.js#L103-L169

And what you do have inside your controllers is actually the Repository.

Also, {any}Service should be called {any}Model, excepting the messageService.