{"action":"created","comment":{"url":"https://api.github.com/repos/paypal/generator-nemo/pulls/comments/83914006","pull_request_review_id":4725915,"id":83914006,"diff_hunk":"@@ -0,0 +1,16 @@\n+var express = require('express');\n+var app = express();\n+var path = require('path');\n+\n+app.use('/static', express.static('public'));\n+app.get('/', function (req, res) {\n+\tres.sendFile(path.resolve(__dirname, 'public/index.html'));\n+});\n+\n+var server = app.listen(3000, function () {\n+\tvar host = server.address().address;\n+\tvar port = server.address().port;\n+\n+\tconsole.log('Example app listening at http://%s:%s', host, port);","path":"app/templates/_server.js","position":14,"original_position":14,"commit_id":"a16ac1f8deb3b04f086b1cd58a091b3667288a49","original_commit_id":"a16ac1f8deb3b04f086b1cd58a091b3667288a49","user":{"login":"gabrielcsapo","id":1854811,"avatar_url":"https://avatars.githubusercontent.com/u/1854811?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielcsapo","html_url":"https://github.com/gabrielcsapo","followers_url":"https://api.github.com/users/gabrielcsapo/followers","following_url":"https://api.github.com/users/gabrielcsapo/following{/other_user}","gists_url":"https://api.github.com/users/gabrielcsapo/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielcsapo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielcsapo/subscriptions","organizations_url":"https://api.github.com/users/gabrielcsapo/orgs","repos_url":"https://api.github.com/users/gabrielcsapo/repos","events_url":"https://api.github.com/users/gabrielcsapo/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielcsapo/received_events","type":"User","site_admin":false},"body":"we could even overwrite the file during compilation?","created_at":"2016-10-18T18:00:12Z","updated_at":"2016-10-18T18:00:12Z","html_url":"https://github.com/paypal/generator-nemo/pull/23#discussion_r83914006","pull_request_url":"https://api.github.com/repos/paypal/generator-nemo/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/comments/83914006"},"html":{"href":"https://github.com/paypal/generator-nemo/pull/23#discussion_r83914006"},"pull_request":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/paypal/generator-nemo/pulls/23","id":89717332,"html_url":"https://github.com/paypal/generator-nemo/pull/23","diff_url":"https://github.com/paypal/generator-nemo/pull/23.diff","patch_url":"https://github.com/paypal/generator-nemo/pull/23.patch","issue_url":"https://api.github.com/repos/paypal/generator-nemo/issues/23","number":23,"state":"open","locked":false,"title":"Add ability to generate express app","user":{"login":"grawk","id":1031360,"avatar_url":"https://avatars.githubusercontent.com/u/1031360?v=3","gravatar_id":"","url":"https://api.github.com/users/grawk","html_url":"https://github.com/grawk","followers_url":"https://api.github.com/users/grawk/followers","following_url":"https://api.github.com/users/grawk/following{/other_user}","gists_url":"https://api.github.com/users/grawk/gists{/gist_id}","starred_url":"https://api.github.com/users/grawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grawk/subscriptions","organizations_url":"https://api.github.com/users/grawk/orgs","repos_url":"https://api.github.com/users/grawk/repos","events_url":"https://api.github.com/users/grawk/events{/privacy}","received_events_url":"https://api.github.com/users/grawk/received_events","type":"User","site_admin":false},"body":"Makes generator more useful by allowing a fully self contained express app and nemo suite in a single step.","created_at":"2016-10-17T22:43:36Z","updated_at":"2016-10-18T18:00:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9741c32e9e698190f36ee3d8d415cffd8b4a5e14","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/paypal/generator-nemo/pulls/23/commits","review_comments_url":"https://api.github.com/repos/paypal/generator-nemo/pulls/23/comments","review_comment_url":"https://api.github.com/repos/paypal/generator-nemo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paypal/generator-nemo/issues/23/comments","statuses_url":"https://api.github.com/repos/paypal/generator-nemo/statuses/a16ac1f8deb3b04f086b1cd58a091b3667288a49","head":{"label":"paypal:feature.include.server","ref":"feature.include.server","sha":"a16ac1f8deb3b04f086b1cd58a091b3667288a49","user":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"repo":{"id":19865561,"name":"generator-nemo","full_name":"paypal/generator-nemo","owner":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paypal/generator-nemo","description":"yeoman generator for adding Nemo automation to Kraken applications","fork":false,"url":"https://api.github.com/repos/paypal/generator-nemo","forks_url":"https://api.github.com/repos/paypal/generator-nemo/forks","keys_url":"https://api.github.com/repos/paypal/generator-nemo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paypal/generator-nemo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paypal/generator-nemo/teams","hooks_url":"https://api.github.com/repos/paypal/generator-nemo/hooks","issue_events_url":"https://api.github.com/repos/paypal/generator-nemo/issues/events{/number}","events_url":"https://api.github.com/repos/paypal/generator-nemo/events","assignees_url":"https://api.github.com/repos/paypal/generator-nemo/assignees{/user}","branches_url":"https://api.github.com/repos/paypal/generator-nemo/branches{/branch}","tags_url":"https://api.github.com/repos/paypal/generator-nemo/tags","blobs_url":"https://api.github.com/repos/paypal/generator-nemo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paypal/generator-nemo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paypal/generator-nemo/git/refs{/sha}","trees_url":"https://api.github.com/repos/paypal/generator-nemo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paypal/generator-nemo/statuses/{sha}","languages_url":"https://api.github.com/repos/paypal/generator-nemo/languages","stargazers_url":"https://api.github.com/repos/paypal/generator-nemo/stargazers","contributors_url":"https://api.github.com/repos/paypal/generator-nemo/contributors","subscribers_url":"https://api.github.com/repos/paypal/generator-nemo/subscribers","subscription_url":"https://api.github.com/repos/paypal/generator-nemo/subscription","commits_url":"https://api.github.com/repos/paypal/generator-nemo/commits{/sha}","git_commits_url":"https://api.github.com/repos/paypal/generator-nemo/git/commits{/sha}","comments_url":"https://api.github.com/repos/paypal/generator-nemo/comments{/number}","issue_comment_url":"https://api.github.com/repos/paypal/generator-nemo/issues/comments{/number}","contents_url":"https://api.github.com/repos/paypal/generator-nemo/contents/{+path}","compare_url":"https://api.github.com/repos/paypal/generator-nemo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paypal/generator-nemo/merges","archive_url":"https://api.github.com/repos/paypal/generator-nemo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paypal/generator-nemo/downloads","issues_url":"https://api.github.com/repos/paypal/generator-nemo/issues{/number}","pulls_url":"https://api.github.com/repos/paypal/generator-nemo/pulls{/number}","milestones_url":"https://api.github.com/repos/paypal/generator-nemo/milestones{/number}","notifications_url":"https://api.github.com/repos/paypal/generator-nemo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paypal/generator-nemo/labels{/name}","releases_url":"https://api.github.com/repos/paypal/generator-nemo/releases{/id}","deployments_url":"https://api.github.com/repos/paypal/generator-nemo/deployments","created_at":"2014-05-16T17:52:14Z","updated_at":"2016-08-18T04:29:59Z","pushed_at":"2016-10-17T22:43:36Z","git_url":"git://github.com/paypal/generator-nemo.git","ssh_url":"git@github.com:paypal/generator-nemo.git","clone_url":"https://github.com/paypal/generator-nemo.git","svn_url":"https://github.com/paypal/generator-nemo","homepage":null,"size":99,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"paypal:develop","ref":"develop","sha":"bbcd27a903c35d4b635fc34a2c56509477f38fb1","user":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"repo":{"id":19865561,"name":"generator-nemo","full_name":"paypal/generator-nemo","owner":{"login":"paypal","id":476675,"avatar_url":"https://avatars.githubusercontent.com/u/476675?v=3","gravatar_id":"","url":"https://api.github.com/users/paypal","html_url":"https://github.com/paypal","followers_url":"https://api.github.com/users/paypal/followers","following_url":"https://api.github.com/users/paypal/following{/other_user}","gists_url":"https://api.github.com/users/paypal/gists{/gist_id}","starred_url":"https://api.github.com/users/paypal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paypal/subscriptions","organizations_url":"https://api.github.com/users/paypal/orgs","repos_url":"https://api.github.com/users/paypal/repos","events_url":"https://api.github.com/users/paypal/events{/privacy}","received_events_url":"https://api.github.com/users/paypal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paypal/generator-nemo","description":"yeoman generator for adding Nemo automation to Kraken applications","fork":false,"url":"https://api.github.com/repos/paypal/generator-nemo","forks_url":"https://api.github.com/repos/paypal/generator-nemo/forks","keys_url":"https://api.github.com/repos/paypal/generator-nemo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paypal/generator-nemo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paypal/generator-nemo/teams","hooks_url":"https://api.github.com/repos/paypal/generator-nemo/hooks","issue_events_url":"https://api.github.com/repos/paypal/generator-nemo/issues/events{/number}","events_url":"https://api.github.com/repos/paypal/generator-nemo/events","assignees_url":"https://api.github.com/repos/paypal/generator-nemo/assignees{/user}","branches_url":"https://api.github.com/repos/paypal/generator-nemo/branches{/branch}","tags_url":"https://api.github.com/repos/paypal/generator-nemo/tags","blobs_url":"https://api.github.com/repos/paypal/generator-nemo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paypal/generator-nemo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paypal/generator-nemo/git/refs{/sha}","trees_url":"https://api.github.com/repos/paypal/generator-nemo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paypal/generator-nemo/statuses/{sha}","languages_url":"https://api.github.com/repos/paypal/generator-nemo/languages","stargazers_url":"https://api.github.com/repos/paypal/generator-nemo/stargazers","contributors_url":"https://api.github.com/repos/paypal/generator-nemo/contributors","subscribers_url":"https://api.github.com/repos/paypal/generator-nemo/subscribers","subscription_url":"https://api.github.com/repos/paypal/generator-nemo/subscription","commits_url":"https://api.github.com/repos/paypal/generator-nemo/commits{/sha}","git_commits_url":"https://api.github.com/repos/paypal/generator-nemo/git/commits{/sha}","comments_url":"https://api.github.com/repos/paypal/generator-nemo/comments{/number}","issue_comment_url":"https://api.github.com/repos/paypal/generator-nemo/issues/comments{/number}","contents_url":"https://api.github.com/repos/paypal/generator-nemo/contents/{+path}","compare_url":"https://api.github.com/repos/paypal/generator-nemo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paypal/generator-nemo/merges","archive_url":"https://api.github.com/repos/paypal/generator-nemo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paypal/generator-nemo/downloads","issues_url":"https://api.github.com/repos/paypal/generator-nemo/issues{/number}","pulls_url":"https://api.github.com/repos/paypal/generator-nemo/pulls{/number}","milestones_url":"https://api.github.com/repos/paypal/generator-nemo/milestones{/number}","notifications_url":"https://api.github.com/repos/paypal/generator-nemo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paypal/generator-nemo/labels{/name}","releases_url":"https://api.github.com/repos/paypal/generator-nemo/releases{/id}","deployments_url":"https://api.github.com/repos/paypal/generator-nemo/deployments","created_at":"2014-05-16T17:52:14Z","updated_at":"2016-08-18T04:29:59Z","pushed_at":"2016-10-17T22:43:36Z","git_url":"git://github.com/paypal/generator-nemo.git","ssh_url":"git@github.com:paypal/generator-nemo.git","clone_url":"https://github.com/paypal/generator-nemo.git","svn_url":"https://github.com/paypal/generator-nemo","homepage":null,"size":99,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/23"},"html":{"href":"https://github.com/paypal/generator-nemo/pull/23"},"issue":{"href":"https://api.github.com/repos/paypal/generator-nemo/issues/23"},"comments":{"href":"https://api.github.com/repos/paypal/generator-nemo/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paypal/generator-nemo/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/paypal/generator-nemo/statuses/a16ac1f8deb3b04f086b1cd58a091b3667288a49"}}}}
{"actor":{"display_login":"gabrielcsapo"}}