{"action":"created","comment":{"url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/comments/212011196","pull_request_review_id":148552332,"id":212011196,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjAxMTE5Ng==","diff_hunk":"@@ -0,0 +1,84 @@\n+\n+/**\n+ * @class CatchErrors","path":"server/helper/CatchErrors.js","position":3,"original_position":3,"commit_id":"b0756bafe8ffdd1a145636ab1af9fb2d330f7dbe","original_commit_id":"b0756bafe8ffdd1a145636ab1af9fb2d330f7dbe","user":{"login":"RachelAbaniwo","id":32877365,"node_id":"MDQ6VXNlcjMyODc3MzY1","avatar_url":"https://avatars1.githubusercontent.com/u/32877365?v=4","gravatar_id":"","url":"https://api.github.com/users/RachelAbaniwo","html_url":"https://github.com/RachelAbaniwo","followers_url":"https://api.github.com/users/RachelAbaniwo/followers","following_url":"https://api.github.com/users/RachelAbaniwo/following{/other_user}","gists_url":"https://api.github.com/users/RachelAbaniwo/gists{/gist_id}","starred_url":"https://api.github.com/users/RachelAbaniwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RachelAbaniwo/subscriptions","organizations_url":"https://api.github.com/users/RachelAbaniwo/orgs","repos_url":"https://api.github.com/users/RachelAbaniwo/repos","events_url":"https://api.github.com/users/RachelAbaniwo/events{/privacy}","received_events_url":"https://api.github.com/users/RachelAbaniwo/received_events","type":"User","site_admin":false},"body":"Fix all indentation issues.","created_at":"2018-08-22T15:57:33Z","updated_at":"2018-08-22T15:57:33Z","html_url":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22#discussion_r212011196","pull_request_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/comments/212011196"},"html":{"href":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22#discussion_r212011196"},"pull_request":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22","id":210165190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTY1MTkw","html_url":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22","diff_url":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22.diff","patch_url":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22.patch","issue_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/22","number":22,"state":"closed","locked":false,"title":"#159949253 Implement signup endpoint using database","user":{"login":"augustineezinwa","id":30579559,"node_id":"MDQ6VXNlcjMwNTc5NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- This PR creates the signup API endpoint using real data from a database\r\n#### Description of Task to be completed?\r\n- Implement user data to a database using the POST /auth/signup endpoint\r\n#### How should this be manually tested?\r\n- run `npm test`\r\n#### Any background context you want to provide?\r\n- None\r\n#### What are the relevant pivotal tracker stories?\r\n- #159949253\r\n#### Screenshots (if appropriate)\r\n- None\r\n#### Questions:\r\n- None\r\n","created_at":"2018-08-22T15:01:48Z","updated_at":"2018-08-22T15:57:33Z","closed_at":"2018-08-22T15:21:50Z","merged_at":"2018-08-22T15:21:50Z","merge_commit_sha":"3ee223b031b6e5637ec7f43fb52f8b138ed84674","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22/commits","review_comments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22/comments","review_comment_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/22/comments","statuses_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/statuses/b0756bafe8ffdd1a145636ab1af9fb2d330f7dbe","head":{"label":"augustineezinwa:ft-signup-api-endpoint-database-159949253","ref":"ft-signup-api-endpoint-database-159949253","sha":"b0756bafe8ffdd1a145636ab1af9fb2d330f7dbe","user":{"login":"augustineezinwa","id":30579559,"node_id":"MDQ6VXNlcjMwNTc5NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"repo":{"id":143848908,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4NDg5MDg=","name":"StackOverFlow-Lite","full_name":"augustineezinwa/StackOverFlow-Lite","owner":{"login":"augustineezinwa","id":30579559,"node_id":"MDQ6VXNlcjMwNTc5NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/augustineezinwa/StackOverFlow-Lite","description":"StackOverFlow-Lite Application is a platform where users can ask questions and get answers to their questions","fork":false,"url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite","forks_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/forks","keys_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/teams","hooks_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/hooks","issue_events_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/events{/number}","events_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/events","assignees_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/assignees{/user}","branches_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/branches{/branch}","tags_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/tags","blobs_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/statuses/{sha}","languages_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/languages","stargazers_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/stargazers","contributors_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/contributors","subscribers_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/subscribers","subscription_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/subscription","commits_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/contents/{+path}","compare_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/merges","archive_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/downloads","issues_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues{/number}","pulls_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls{/number}","milestones_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/milestones{/number}","notifications_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/labels{/name}","releases_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/releases{/id}","deployments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/deployments","created_at":"2018-08-07T09:14:23Z","updated_at":"2018-08-22T15:21:52Z","pushed_at":"2018-08-22T15:21:51Z","git_url":"git://github.com/augustineezinwa/StackOverFlow-Lite.git","ssh_url":"git@github.com:augustineezinwa/StackOverFlow-Lite.git","clone_url":"https://github.com/augustineezinwa/StackOverFlow-Lite.git","svn_url":"https://github.com/augustineezinwa/StackOverFlow-Lite","homepage":"https://stack-o-lite.herokuapp.com","size":450,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"augustineezinwa:develop","ref":"develop","sha":"7fe06495071b1eac063982b4f063c45515904eed","user":{"login":"augustineezinwa","id":30579559,"node_id":"MDQ6VXNlcjMwNTc5NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"repo":{"id":143848908,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4NDg5MDg=","name":"StackOverFlow-Lite","full_name":"augustineezinwa/StackOverFlow-Lite","owner":{"login":"augustineezinwa","id":30579559,"node_id":"MDQ6VXNlcjMwNTc5NTU5","avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/augustineezinwa/StackOverFlow-Lite","description":"StackOverFlow-Lite Application is a platform where users can ask questions and get answers to their questions","fork":false,"url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite","forks_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/forks","keys_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/teams","hooks_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/hooks","issue_events_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/events{/number}","events_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/events","assignees_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/assignees{/user}","branches_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/branches{/branch}","tags_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/tags","blobs_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/statuses/{sha}","languages_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/languages","stargazers_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/stargazers","contributors_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/contributors","subscribers_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/subscribers","subscription_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/subscription","commits_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/contents/{+path}","compare_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/merges","archive_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/downloads","issues_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues{/number}","pulls_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls{/number}","milestones_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/milestones{/number}","notifications_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/labels{/name}","releases_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/releases{/id}","deployments_url":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/deployments","created_at":"2018-08-07T09:14:23Z","updated_at":"2018-08-22T15:21:52Z","pushed_at":"2018-08-22T15:21:51Z","git_url":"git://github.com/augustineezinwa/StackOverFlow-Lite.git","ssh_url":"git@github.com:augustineezinwa/StackOverFlow-Lite.git","clone_url":"https://github.com/augustineezinwa/StackOverFlow-Lite.git","svn_url":"https://github.com/augustineezinwa/StackOverFlow-Lite","homepage":"https://stack-o-lite.herokuapp.com","size":450,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22"},"html":{"href":"https://github.com/augustineezinwa/StackOverFlow-Lite/pull/22"},"issue":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/22"},"comments":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/augustineezinwa/StackOverFlow-Lite/statuses/b0756bafe8ffdd1a145636ab1af9fb2d330f7dbe"}},"author_association":"OWNER"}}
{"actor":{"display_login":"RachelAbaniwo"}}