{"action":"created","comment":{"url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/comments/64049524","id":64049524,"diff_hunk":"@@ -0,0 +1,45 @@\n+var mongoose    = require('mongoose');\n+var express     = require('express');\n+var bodyParser  = require('body-parser');\n+var app         = express();\n+var mongoURI    = process.env.MONGO || 'mongodb://localhost:27017/nodeadvca';\n+var log         = require('../middleware/logger').child({\n+  level : 'info',\n+  component : '[BIN-SERVER]'\n+});\n+//var router      = express.Router();\n+\n+// set port for server\n+var port = process.env.PORT || 3000;\n+\n+var routes      = require('../lib/routes.js');","path":"bin/server.js","position":15,"original_position":15,"commit_id":"8e93437d026152f163d49a6c512986ba31a3f8e2","original_commit_id":"8e93437d026152f163d49a6c512986ba31a3f8e2","user":{"login":"ancizararenas","id":7069834,"avatar_url":"https://avatars.githubusercontent.com/u/7069834?v=3","gravatar_id":"","url":"https://api.github.com/users/ancizararenas","html_url":"https://github.com/ancizararenas","followers_url":"https://api.github.com/users/ancizararenas/followers","following_url":"https://api.github.com/users/ancizararenas/following{/other_user}","gists_url":"https://api.github.com/users/ancizararenas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancizararenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancizararenas/subscriptions","organizations_url":"https://api.github.com/users/ancizararenas/orgs","repos_url":"https://api.github.com/users/ancizararenas/repos","events_url":"https://api.github.com/users/ancizararenas/events{/privacy}","received_events_url":"https://api.github.com/users/ancizararenas/received_events","type":"User","site_admin":false},"body":"this should be required globally if you are to use like this\r\n","created_at":"2016-05-20T14:27:15Z","updated_at":"2016-05-20T14:27:15Z","html_url":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8#discussion_r64049524","pull_request_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/comments/64049524"},"html":{"href":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8#discussion_r64049524"},"pull_request":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8","id":70856306,"html_url":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8","diff_url":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8.diff","patch_url":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8.patch","issue_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/8","number":8,"state":"open","locked":false,"title":"vdamian modulethree","user":{"login":"expvictordamian","id":12911497,"avatar_url":"https://avatars.githubusercontent.com/u/12911497?v=3","gravatar_id":"","url":"https://api.github.com/users/expvictordamian","html_url":"https://github.com/expvictordamian","followers_url":"https://api.github.com/users/expvictordamian/followers","following_url":"https://api.github.com/users/expvictordamian/following{/other_user}","gists_url":"https://api.github.com/users/expvictordamian/gists{/gist_id}","starred_url":"https://api.github.com/users/expvictordamian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expvictordamian/subscriptions","organizations_url":"https://api.github.com/users/expvictordamian/orgs","repos_url":"https://api.github.com/users/expvictordamian/repos","events_url":"https://api.github.com/users/expvictordamian/events{/privacy}","received_events_url":"https://api.github.com/users/expvictordamian/received_events","type":"User","site_admin":false},"body":"Will follow-up on chat with questions :)\r\n","created_at":"2016-05-20T13:40:19Z","updated_at":"2016-05-20T14:27:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcf4163954e2dead4c9b785acfb056cbefe4cb39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/8/comments","statuses_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/statuses/8e93437d026152f163d49a6c512986ba31a3f8e2","head":{"label":"ancizararenas:vdamian-modulethree","ref":"vdamian-modulethree","sha":"8e93437d026152f163d49a6c512986ba31a3f8e2","user":{"login":"ancizararenas","id":7069834,"avatar_url":"https://avatars.githubusercontent.com/u/7069834?v=3","gravatar_id":"","url":"https://api.github.com/users/ancizararenas","html_url":"https://github.com/ancizararenas","followers_url":"https://api.github.com/users/ancizararenas/followers","following_url":"https://api.github.com/users/ancizararenas/following{/other_user}","gists_url":"https://api.github.com/users/ancizararenas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancizararenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancizararenas/subscriptions","organizations_url":"https://api.github.com/users/ancizararenas/orgs","repos_url":"https://api.github.com/users/ancizararenas/repos","events_url":"https://api.github.com/users/ancizararenas/events{/privacy}","received_events_url":"https://api.github.com/users/ancizararenas/received_events","type":"User","site_admin":false},"repo":{"id":57164126,"name":"expcodeaca-nodeadv","full_name":"ancizararenas/expcodeaca-nodeadv","owner":{"login":"ancizararenas","id":7069834,"avatar_url":"https://avatars.githubusercontent.com/u/7069834?v=3","gravatar_id":"","url":"https://api.github.com/users/ancizararenas","html_url":"https://github.com/ancizararenas","followers_url":"https://api.github.com/users/ancizararenas/followers","following_url":"https://api.github.com/users/ancizararenas/following{/other_user}","gists_url":"https://api.github.com/users/ancizararenas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancizararenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancizararenas/subscriptions","organizations_url":"https://api.github.com/users/ancizararenas/orgs","repos_url":"https://api.github.com/users/ancizararenas/repos","events_url":"https://api.github.com/users/ancizararenas/events{/privacy}","received_events_url":"https://api.github.com/users/ancizararenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ancizararenas/expcodeaca-nodeadv","description":"Expedia Code Academy Material","fork":false,"url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv","forks_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/forks","keys_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/teams","hooks_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/hooks","issue_events_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/events{/number}","events_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/events","assignees_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/assignees{/user}","branches_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/branches{/branch}","tags_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/tags","blobs_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/refs{/sha}","trees_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/statuses/{sha}","languages_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/languages","stargazers_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/stargazers","contributors_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/contributors","subscribers_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/subscribers","subscription_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/subscription","commits_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/commits{/sha}","git_commits_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/commits{/sha}","comments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/comments{/number}","issue_comment_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/comments{/number}","contents_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/contents/{+path}","compare_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/merges","archive_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/downloads","issues_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues{/number}","pulls_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls{/number}","milestones_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/milestones{/number}","notifications_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/labels{/name}","releases_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/releases{/id}","deployments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/deployments","created_at":"2016-04-26T21:47:57Z","updated_at":"2016-05-12T01:00:52Z","pushed_at":"2016-05-20T13:40:19Z","git_url":"git://github.com/ancizararenas/expcodeaca-nodeadv.git","ssh_url":"git@github.com:ancizararenas/expcodeaca-nodeadv.git","clone_url":"https://github.com/ancizararenas/expcodeaca-nodeadv.git","svn_url":"https://github.com/ancizararenas/expcodeaca-nodeadv","homepage":null,"size":645,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"ancizararenas:master","ref":"master","sha":"1e3fc790fa8761a66e6b213481375cb8d435b312","user":{"login":"ancizararenas","id":7069834,"avatar_url":"https://avatars.githubusercontent.com/u/7069834?v=3","gravatar_id":"","url":"https://api.github.com/users/ancizararenas","html_url":"https://github.com/ancizararenas","followers_url":"https://api.github.com/users/ancizararenas/followers","following_url":"https://api.github.com/users/ancizararenas/following{/other_user}","gists_url":"https://api.github.com/users/ancizararenas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancizararenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancizararenas/subscriptions","organizations_url":"https://api.github.com/users/ancizararenas/orgs","repos_url":"https://api.github.com/users/ancizararenas/repos","events_url":"https://api.github.com/users/ancizararenas/events{/privacy}","received_events_url":"https://api.github.com/users/ancizararenas/received_events","type":"User","site_admin":false},"repo":{"id":57164126,"name":"expcodeaca-nodeadv","full_name":"ancizararenas/expcodeaca-nodeadv","owner":{"login":"ancizararenas","id":7069834,"avatar_url":"https://avatars.githubusercontent.com/u/7069834?v=3","gravatar_id":"","url":"https://api.github.com/users/ancizararenas","html_url":"https://github.com/ancizararenas","followers_url":"https://api.github.com/users/ancizararenas/followers","following_url":"https://api.github.com/users/ancizararenas/following{/other_user}","gists_url":"https://api.github.com/users/ancizararenas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancizararenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancizararenas/subscriptions","organizations_url":"https://api.github.com/users/ancizararenas/orgs","repos_url":"https://api.github.com/users/ancizararenas/repos","events_url":"https://api.github.com/users/ancizararenas/events{/privacy}","received_events_url":"https://api.github.com/users/ancizararenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ancizararenas/expcodeaca-nodeadv","description":"Expedia Code Academy Material","fork":false,"url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv","forks_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/forks","keys_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/teams","hooks_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/hooks","issue_events_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/events{/number}","events_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/events","assignees_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/assignees{/user}","branches_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/branches{/branch}","tags_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/tags","blobs_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/refs{/sha}","trees_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/statuses/{sha}","languages_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/languages","stargazers_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/stargazers","contributors_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/contributors","subscribers_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/subscribers","subscription_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/subscription","commits_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/commits{/sha}","git_commits_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/git/commits{/sha}","comments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/comments{/number}","issue_comment_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/comments{/number}","contents_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/contents/{+path}","compare_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/merges","archive_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/downloads","issues_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues{/number}","pulls_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls{/number}","milestones_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/milestones{/number}","notifications_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/labels{/name}","releases_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/releases{/id}","deployments_url":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/deployments","created_at":"2016-04-26T21:47:57Z","updated_at":"2016-05-12T01:00:52Z","pushed_at":"2016-05-20T13:40:19Z","git_url":"git://github.com/ancizararenas/expcodeaca-nodeadv.git","ssh_url":"git@github.com:ancizararenas/expcodeaca-nodeadv.git","clone_url":"https://github.com/ancizararenas/expcodeaca-nodeadv.git","svn_url":"https://github.com/ancizararenas/expcodeaca-nodeadv","homepage":null,"size":645,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8"},"html":{"href":"https://github.com/ancizararenas/expcodeaca-nodeadv/pull/8"},"issue":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/8"},"comments":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ancizararenas/expcodeaca-nodeadv/statuses/8e93437d026152f163d49a6c512986ba31a3f8e2"}}}}
{"actor":{"display_login":"ancizararenas"}}