{"action":"created","issue":{"url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/1","labels_url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/1/comments","events_url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/1/events","html_url":"https://github.com/Angular-Generator/angular-seed-project/pull/1","id":74118368,"number":1,"title":"my initial commit of a suggestion seed project","user":{"login":"JesterXL","id":424737,"avatar_url":"https://avatars.githubusercontent.com/u/424737?v=3","gravatar_id":"","url":"https://api.github.com/users/JesterXL","html_url":"https://github.com/JesterXL","followers_url":"https://api.github.com/users/JesterXL/followers","following_url":"https://api.github.com/users/JesterXL/following{/other_user}","gists_url":"https://api.github.com/users/JesterXL/gists{/gist_id}","starred_url":"https://api.github.com/users/JesterXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesterXL/subscriptions","organizations_url":"https://api.github.com/users/JesterXL/orgs","repos_url":"https://api.github.com/users/JesterXL/repos","events_url":"https://api.github.com/users/JesterXL/events{/privacy}","received_events_url":"https://api.github.com/users/JesterXL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-07T20:32:25Z","updated_at":"2015-05-11T02:08:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/pulls/1","html_url":"https://github.com/Angular-Generator/angular-seed-project/pull/1","diff_url":"https://github.com/Angular-Generator/angular-seed-project/pull/1.diff","patch_url":"https://github.com/Angular-Generator/angular-seed-project/pull/1.patch"},"body":"Ladies & gents, here is my suggestion for a seed project.\r\n\r\n# Installation\r\n\r\n1. check out code\r\n2. switch to `jesse-suggestion` branch\r\n3. in your Terminal, cd to the directory and run `npm install && bower install`\r\n4. once complete type `gulp`\r\n5. open your browser to `http://localhost:8628`\r\n\r\n# Description\r\n\r\nCode is Angular 1.3, Gulp build system (supports only Development for now, no prod, nor does it link to our proposed Gulp build project).\r\n\r\n**src/client**: all Angular front-end code.\r\n\r\n**src/api**: all [Restify](http://mcavage.me/node-restify/) API related code. Open to another middleware like Hapi, no strong feelings here.\r\n\r\n**src/static**: all static files via [Express](http://expressjs.com/). Seperate from API mainly because you optimize static servers differently, and because static file logic is very different from API (deeplinking, caching, cdn, etc).\r\n\r\nTODO:\r\n\r\n- add Redis caching layer example\r\n- add Mongo data layer\r\n- add Passport OAuth example\r\n\r\n# Gulp Tasks\r\n\r\n`gulp`\r\n\r\nDeploys your app locally, starts the static & API server. Connect to `http://localhost:8628` to see it.\r\n\r\n`gulp analyze`\r\n\r\nShows formatting, styling, and complexity (Halsted, Cyclomatic) in your code.\r\n\r\n`gulp analyzeWhileIFix`\r\n\r\nSame as analyze, but will fail unless all 3 quality gates are passed. That way, you can see what's broke, fix it, and get all 3 passing vs 1 big list of text in the Terminal.\r\n\r\n`gulp test`\r\n\r\nRuns Karma unit tests and generates code coverage reports for both client and CI server.\r\n\r\n`gulp testWhileICode`\r\n\r\nSame as Karma, but runs in CI mode. When you save a file, it'll rerun all the unit tests wicked fast.\r\n\r\n`gulp showCoverage`\r\n\r\nShows the code coverage report generated from `gulp test`.\r\n\r\n`gulp judge`\r\n\r\nThe ultimate quality gate. If you pass all of these, you code is epic tier and ready for Git push / SVN commit.\r\n\r\n`gulp cow`\r\n\r\nTest that you have native Promise support in your version of Node. If not, use Bluebird."},"comment":{"url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/comments/100739592","html_url":"https://github.com/Angular-Generator/angular-seed-project/pull/1#issuecomment-100739592","issue_url":"https://api.github.com/repos/Angular-Generator/angular-seed-project/issues/1","id":100739592,"user":{"login":"JesterXL","id":424737,"avatar_url":"https://avatars.githubusercontent.com/u/424737?v=3","gravatar_id":"","url":"https://api.github.com/users/JesterXL","html_url":"https://github.com/JesterXL","followers_url":"https://api.github.com/users/JesterXL/followers","following_url":"https://api.github.com/users/JesterXL/following{/other_user}","gists_url":"https://api.github.com/users/JesterXL/gists{/gist_id}","starred_url":"https://api.github.com/users/JesterXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesterXL/subscriptions","organizations_url":"https://api.github.com/users/JesterXL/orgs","repos_url":"https://api.github.com/users/JesterXL/repos","events_url":"https://api.github.com/users/JesterXL/events{/privacy}","received_events_url":"https://api.github.com/users/JesterXL/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T02:08:39Z","updated_at":"2015-05-11T02:08:39Z","body":"That's 3, 1 more..."}}