{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/473","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/473/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/473/events","html_url":"https://github.com/strongloop/loopback/issues/473","id":40327224,"number":473,"title":"Server-side MVC","user":{"login":"luckymancvp","id":135692,"avatar_url":"https://avatars.githubusercontent.com/u/135692?v=3","gravatar_id":"","url":"https://api.github.com/users/luckymancvp","html_url":"https://github.com/luckymancvp","followers_url":"https://api.github.com/users/luckymancvp/followers","following_url":"https://api.github.com/users/luckymancvp/following{/other_user}","gists_url":"https://api.github.com/users/luckymancvp/gists{/gist_id}","starred_url":"https://api.github.com/users/luckymancvp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckymancvp/subscriptions","organizations_url":"https://api.github.com/users/luckymancvp/orgs","repos_url":"https://api.github.com/users/luckymancvp/repos","events_url":"https://api.github.com/users/luckymancvp/events{/privacy}","received_events_url":"https://api.github.com/users/luckymancvp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/discussion","name":"discussion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-08-15T06:55:14Z","updated_at":"2016-01-04T15:21:09Z","closed_at":null,"body":"Please tell me: Is loopback a MVC framework build on expresjs ?. \r\n\r\n1. How can I define a new controller to handle request. Or everything in loopback is model\r\n2. How can I send more information after each request, example: timestamp. \r\n3. I see in app.js have a line app.enableAuth() to check token, secure app. But how to customize this app, example I want to check if request have a specific header value. \r\n\r\nThanks in adavanced, loopback.io team"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/168704311","html_url":"https://github.com/strongloop/loopback/issues/473#issuecomment-168704311","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/473","id":168704311,"user":{"login":"ronenteva","id":2454954,"avatar_url":"https://avatars.githubusercontent.com/u/2454954?v=3","gravatar_id":"","url":"https://api.github.com/users/ronenteva","html_url":"https://github.com/ronenteva","followers_url":"https://api.github.com/users/ronenteva/followers","following_url":"https://api.github.com/users/ronenteva/following{/other_user}","gists_url":"https://api.github.com/users/ronenteva/gists{/gist_id}","starred_url":"https://api.github.com/users/ronenteva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronenteva/subscriptions","organizations_url":"https://api.github.com/users/ronenteva/orgs","repos_url":"https://api.github.com/users/ronenteva/repos","events_url":"https://api.github.com/users/ronenteva/events{/privacy}","received_events_url":"https://api.github.com/users/ronenteva/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T15:21:08Z","updated_at":"2016-01-04T15:21:08Z","body":"Now that sails future is not clear, using Loopback as a server side MVC looks like a good alternative.\r\nI found an [article](https://github.com/shortwavapp/loopback-tutorials/tree/master/01-server-side-templates) about serving views, which worked perfect. \r\nHowever there are some things that are unclear like how to expose the controllers and services.\r\n@kisayista I couldn't find the [boilerplate](https://github.com/auroratechnologies/loopback-example-mvc) you made, any chance you can upload it again?"}}