{"action":"closed","issue":{"url":"https://api.github.com/repos/DecentCMS/DecentCMS/issues/6","labels_url":"https://api.github.com/repos/DecentCMS/DecentCMS/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/DecentCMS/DecentCMS/issues/6/comments","events_url":"https://api.github.com/repos/DecentCMS/DecentCMS/issues/6/events","html_url":"https://github.com/DecentCMS/DecentCMS/issues/6","id":66208494,"number":6,"title":"Cool stuff...a suggestion....","user":{"login":"GQAdonis","id":100990,"avatar_url":"https://avatars.githubusercontent.com/u/100990?v=3","gravatar_id":"","url":"https://api.github.com/users/GQAdonis","html_url":"https://github.com/GQAdonis","followers_url":"https://api.github.com/users/GQAdonis/followers","following_url":"https://api.github.com/users/GQAdonis/following{/other_user}","gists_url":"https://api.github.com/users/GQAdonis/gists{/gist_id}","starred_url":"https://api.github.com/users/GQAdonis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GQAdonis/subscriptions","organizations_url":"https://api.github.com/users/GQAdonis/orgs","repos_url":"https://api.github.com/users/GQAdonis/repos","events_url":"https://api.github.com/users/GQAdonis/events{/privacy}","received_events_url":"https://api.github.com/users/GQAdonis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T18:54:23Z","updated_at":"2015-04-03T19:10:46Z","closed_at":"2015-04-03T19:10:46Z","body":"This looks to be a cool project, because as you know, I have always been a big fan of Orchard.  I really would like to see it implemented in Node.js, so I will help.\r\n\r\nAs for this code base, I think you know it does not run as is, and I have a suggestion to fix a piece of it.\r\n\r\nTo make modules easier to create by eliminating the need to resolve paths to precise directories, you can use the \"require-alias\" module, which allows for mapping generic names to exact paths.  You could, in \"server.js\", iterate over the modules directory creating \"name/path\" pairs.  In new modules, use the alias to bring in the functionality of the desired module.\r\n\r\nI have created an example of this and submit a pull request for your review if you like the idea.\r\n"}}