{"action":"created","comment":{"url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/comments/79334744","id":79334744,"diff_hunk":"@@ -0,0 +1,61 @@\n+/* eslint-disable no-console */\n+if (!process.env.DATABASE_URL_TEST) {\n+  require('dotenv').load();\n+}\n+\n+const express = require('express'),\n+      mongoose = require('mongoose'),\n+      bodyParser = require('body-parser'),\n+      morgan = require('morgan');\n+\n+const app = express(); // define our app using express\n+\n+\n+// connect to MongoDB\n+// const databaseUri = process.env.NODE_ENV === 'test' ?","path":"server.js","position":15,"original_position":15,"commit_id":"2698d6373c136f4f1e098c33102e8fe7af406bca","original_commit_id":"2698d6373c136f4f1e098c33102e8fe7af406bca","user":{"login":"andela-hkoske","id":13534520,"avatar_url":"https://avatars.githubusercontent.com/u/13534520?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hkoske","html_url":"https://github.com/andela-hkoske","followers_url":"https://api.github.com/users/andela-hkoske/followers","following_url":"https://api.github.com/users/andela-hkoske/following{/other_user}","gists_url":"https://api.github.com/users/andela-hkoske/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hkoske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hkoske/subscriptions","organizations_url":"https://api.github.com/users/andela-hkoske/orgs","repos_url":"https://api.github.com/users/andela-hkoske/repos","events_url":"https://api.github.com/users/andela-hkoske/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hkoske/received_events","type":"User","site_admin":false},"body":"What is the purpose of this?","created_at":"2016-09-19T07:00:07Z","updated_at":"2016-09-19T07:00:07Z","html_url":"https://github.com/andela-tbaraza/docsys-api/pull/1#discussion_r79334744","pull_request_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/comments/79334744"},"html":{"href":"https://github.com/andela-tbaraza/docsys-api/pull/1#discussion_r79334744"},"pull_request":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1","id":85745008,"html_url":"https://github.com/andela-tbaraza/docsys-api/pull/1","diff_url":"https://github.com/andela-tbaraza/docsys-api/pull/1.diff","patch_url":"https://github.com/andela-tbaraza/docsys-api/pull/1.patch","issue_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/1","number":1,"state":"open","locked":false,"title":"Merge develop into master","user":{"login":"andela-hkoske","id":13534520,"avatar_url":"https://avatars.githubusercontent.com/u/13534520?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hkoske","html_url":"https://github.com/andela-hkoske","followers_url":"https://api.github.com/users/andela-hkoske/followers","following_url":"https://api.github.com/users/andela-hkoske/following{/other_user}","gists_url":"https://api.github.com/users/andela-hkoske/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hkoske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hkoske/subscriptions","organizations_url":"https://api.github.com/users/andela-hkoske/orgs","repos_url":"https://api.github.com/users/andela-hkoske/repos","events_url":"https://api.github.com/users/andela-hkoske/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hkoske/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T06:56:46Z","updated_at":"2016-09-19T07:26:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12f711b7fe5665d5a3b221a782e5ddb97f419ab9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/1/comments","statuses_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/statuses/2698d6373c136f4f1e098c33102e8fe7af406bca","head":{"label":"andela-tbaraza:develop","ref":"develop","sha":"2698d6373c136f4f1e098c33102e8fe7af406bca","user":{"login":"andela-tbaraza","id":19430106,"avatar_url":"https://avatars.githubusercontent.com/u/19430106?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-tbaraza","html_url":"https://github.com/andela-tbaraza","followers_url":"https://api.github.com/users/andela-tbaraza/followers","following_url":"https://api.github.com/users/andela-tbaraza/following{/other_user}","gists_url":"https://api.github.com/users/andela-tbaraza/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-tbaraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-tbaraza/subscriptions","organizations_url":"https://api.github.com/users/andela-tbaraza/orgs","repos_url":"https://api.github.com/users/andela-tbaraza/repos","events_url":"https://api.github.com/users/andela-tbaraza/events{/privacy}","received_events_url":"https://api.github.com/users/andela-tbaraza/received_events","type":"User","site_admin":false},"repo":{"id":66070754,"name":"docsys-api","full_name":"andela-tbaraza/docsys-api","owner":{"login":"andela-tbaraza","id":19430106,"avatar_url":"https://avatars.githubusercontent.com/u/19430106?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-tbaraza","html_url":"https://github.com/andela-tbaraza","followers_url":"https://api.github.com/users/andela-tbaraza/followers","following_url":"https://api.github.com/users/andela-tbaraza/following{/other_user}","gists_url":"https://api.github.com/users/andela-tbaraza/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-tbaraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-tbaraza/subscriptions","organizations_url":"https://api.github.com/users/andela-tbaraza/orgs","repos_url":"https://api.github.com/users/andela-tbaraza/repos","events_url":"https://api.github.com/users/andela-tbaraza/events{/privacy}","received_events_url":"https://api.github.com/users/andela-tbaraza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-tbaraza/docsys-api","description":null,"fork":false,"url":"https://api.github.com/repos/andela-tbaraza/docsys-api","forks_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/forks","keys_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/teams","hooks_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/hooks","issue_events_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/events{/number}","events_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/events","assignees_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/assignees{/user}","branches_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/branches{/branch}","tags_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/tags","blobs_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/languages","stargazers_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/stargazers","contributors_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/contributors","subscribers_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/subscribers","subscription_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/subscription","commits_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/contents/{+path}","compare_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/merges","archive_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/downloads","issues_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues{/number}","pulls_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/labels{/name}","releases_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/releases{/id}","deployments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/deployments","created_at":"2016-08-19T09:29:31Z","updated_at":"2016-08-19T09:29:31Z","pushed_at":"2016-09-19T06:56:46Z","git_url":"git://github.com/andela-tbaraza/docsys-api.git","ssh_url":"git@github.com:andela-tbaraza/docsys-api.git","clone_url":"https://github.com/andela-tbaraza/docsys-api.git","svn_url":"https://github.com/andela-tbaraza/docsys-api","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"andela-tbaraza:master","ref":"master","sha":"2286c94bf57bfcad2690389065bd2ac7f7168d66","user":{"login":"andela-tbaraza","id":19430106,"avatar_url":"https://avatars.githubusercontent.com/u/19430106?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-tbaraza","html_url":"https://github.com/andela-tbaraza","followers_url":"https://api.github.com/users/andela-tbaraza/followers","following_url":"https://api.github.com/users/andela-tbaraza/following{/other_user}","gists_url":"https://api.github.com/users/andela-tbaraza/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-tbaraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-tbaraza/subscriptions","organizations_url":"https://api.github.com/users/andela-tbaraza/orgs","repos_url":"https://api.github.com/users/andela-tbaraza/repos","events_url":"https://api.github.com/users/andela-tbaraza/events{/privacy}","received_events_url":"https://api.github.com/users/andela-tbaraza/received_events","type":"User","site_admin":false},"repo":{"id":66070754,"name":"docsys-api","full_name":"andela-tbaraza/docsys-api","owner":{"login":"andela-tbaraza","id":19430106,"avatar_url":"https://avatars.githubusercontent.com/u/19430106?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-tbaraza","html_url":"https://github.com/andela-tbaraza","followers_url":"https://api.github.com/users/andela-tbaraza/followers","following_url":"https://api.github.com/users/andela-tbaraza/following{/other_user}","gists_url":"https://api.github.com/users/andela-tbaraza/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-tbaraza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-tbaraza/subscriptions","organizations_url":"https://api.github.com/users/andela-tbaraza/orgs","repos_url":"https://api.github.com/users/andela-tbaraza/repos","events_url":"https://api.github.com/users/andela-tbaraza/events{/privacy}","received_events_url":"https://api.github.com/users/andela-tbaraza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-tbaraza/docsys-api","description":null,"fork":false,"url":"https://api.github.com/repos/andela-tbaraza/docsys-api","forks_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/forks","keys_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/teams","hooks_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/hooks","issue_events_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/events{/number}","events_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/events","assignees_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/assignees{/user}","branches_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/branches{/branch}","tags_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/tags","blobs_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/languages","stargazers_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/stargazers","contributors_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/contributors","subscribers_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/subscribers","subscription_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/subscription","commits_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/contents/{+path}","compare_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/merges","archive_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/downloads","issues_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues{/number}","pulls_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/labels{/name}","releases_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/releases{/id}","deployments_url":"https://api.github.com/repos/andela-tbaraza/docsys-api/deployments","created_at":"2016-08-19T09:29:31Z","updated_at":"2016-08-19T09:29:31Z","pushed_at":"2016-09-19T06:56:46Z","git_url":"git://github.com/andela-tbaraza/docsys-api.git","ssh_url":"git@github.com:andela-tbaraza/docsys-api.git","clone_url":"https://github.com/andela-tbaraza/docsys-api.git","svn_url":"https://github.com/andela-tbaraza/docsys-api","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1"},"html":{"href":"https://github.com/andela-tbaraza/docsys-api/pull/1"},"issue":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/1"},"comments":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela-tbaraza/docsys-api/statuses/2698d6373c136f4f1e098c33102e8fe7af406bca"}}}}
{"actor":{"display_login":"andela-hkoske"}}