{"action":"opened","issue":{"url":"https://api.github.com/repos/olado/doT/issues/196","repository_url":"https://api.github.com/repos/olado/doT","labels_url":"https://api.github.com/repos/olado/doT/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/olado/doT/issues/196/comments","events_url":"https://api.github.com/repos/olado/doT/issues/196/events","html_url":"https://github.com/olado/doT/issues/196","id":155430796,"number":196,"title":"Is there a better way to use this with express?","user":{"login":"prashcr","id":7514066,"avatar_url":"https://avatars.githubusercontent.com/u/7514066?v=3","gravatar_id":"","url":"https://api.github.com/users/prashcr","html_url":"https://github.com/prashcr","followers_url":"https://api.github.com/users/prashcr/followers","following_url":"https://api.github.com/users/prashcr/following{/other_user}","gists_url":"https://api.github.com/users/prashcr/gists{/gist_id}","starred_url":"https://api.github.com/users/prashcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashcr/subscriptions","organizations_url":"https://api.github.com/users/prashcr/orgs","repos_url":"https://api.github.com/users/prashcr/repos","events_url":"https://api.github.com/users/prashcr/events{/privacy}","received_events_url":"https://api.github.com/users/prashcr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-18T07:08:24Z","updated_at":"2016-05-18T07:08:24Z","closed_at":null,"body":"I've seen this example: https://github.com/olado/doT/tree/master/examples/express\r\n\r\nWhile it works, I feel like the project structure is confusingly unconventional (why have `index.js` that simply requires app.js?), and it is not git-friendly (`render/index.js` is source code, but it is in the same directory as the compiled templates).  \r\n  \r\nWhile I understand that this structure may have been reached with performance as the most important consideration, but are there express examples that are more friendly to use and follow similar conventions as other engines?"}}