{"action":"created","issue":{"url":"https://api.github.com/repos/kadirahq/mantra/issues/3","labels_url":"https://api.github.com/repos/kadirahq/mantra/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/mantra/issues/3/comments","events_url":"https://api.github.com/repos/kadirahq/mantra/issues/3/events","html_url":"https://github.com/kadirahq/mantra/issues/3","id":125677843,"number":3,"title":"what about directory structure?","user":{"login":"achtan","id":1048212,"avatar_url":"https://avatars.githubusercontent.com/u/1048212?v=3","gravatar_id":"","url":"https://api.github.com/users/achtan","html_url":"https://github.com/achtan","followers_url":"https://api.github.com/users/achtan/followers","following_url":"https://api.github.com/users/achtan/following{/other_user}","gists_url":"https://api.github.com/users/achtan/gists{/gist_id}","starred_url":"https://api.github.com/users/achtan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achtan/subscriptions","organizations_url":"https://api.github.com/users/achtan/orgs","repos_url":"https://api.github.com/users/achtan/repos","events_url":"https://api.github.com/users/achtan/events{/privacy}","received_events_url":"https://api.github.com/users/achtan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":80,"created_at":"2016-01-08T19:33:49Z","updated_at":"2016-02-01T22:54:31Z","closed_at":null,"body":"Will be Mantra opinionated about directory structure?"},"comment":{"url":"https://api.github.com/repos/kadirahq/mantra/issues/comments/178240786","html_url":"https://github.com/kadirahq/mantra/issues/3#issuecomment-178240786","issue_url":"https://api.github.com/repos/kadirahq/mantra/issues/3","id":178240786,"user":{"login":"tjmonsi","id":2645718,"avatar_url":"https://avatars.githubusercontent.com/u/2645718?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmonsi","html_url":"https://github.com/tjmonsi","followers_url":"https://api.github.com/users/tjmonsi/followers","following_url":"https://api.github.com/users/tjmonsi/following{/other_user}","gists_url":"https://api.github.com/users/tjmonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmonsi/subscriptions","organizations_url":"https://api.github.com/users/tjmonsi/orgs","repos_url":"https://api.github.com/users/tjmonsi/repos","events_url":"https://api.github.com/users/tjmonsi/events{/privacy}","received_events_url":"https://api.github.com/users/tjmonsi/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T22:54:31Z","updated_at":"2016-02-01T22:54:31Z","body":"I think for me, if you are creating something that will be put in the\nmodules folder inside the client folder, then i have to agree that we\nshould just put client code in there and not mix it with server code.\n\nIf you are going to put the modules folder inside the import, then i guess\nit would be best to have both the client and server in the modules folder\nPROVIDED that you want to create \"mini-apps\" or \"mini-plugins\" that you can\njust install and use either from the client or from the server.\n\nAnd from there, you can publish it to npm, which is akin to just putting\nthe folder inside the imports/modules to npm_modules. By just using npm\ninstall, you can \"install\" a module or plugin (may it be fully client like\nreusable react ui components, or fully server like a full feature api with\ndatabase management, or a feature that has a client component and server\napi)... Then just use import {needed} from 'installedmodule';\n\nOn Tue, 2 Feb 2016 04:49 David Ďurika <notifications@github.com> wrote:\n\n> i'm kinda agree with @mquandalle <https://github.com/mquandalle>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kadirahq/mantra/issues/3#issuecomment-178181715>.\n>\n"}}