{"action":"created","comment":{"url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/comments/190052102","pull_request_review_id":122351922,"id":190052102,"diff_hunk":"@@ -25,15 +24,16 @@\n     \"homepage\": \"https://github.com/chukwuemekachm/Maintenance-Tracker#readme\",\n     \"dependencies\": {\n         \"bcrypt\": \"^2.0.1\",\n+        \"bluebird\": \"^3.5.1\",\n         \"body-parser\": \"^1.18.3\",\n-        \"db-migrate\": \"^0.11.1\",\n-        \"db-migrate-pg\": \"^0.4.0\",\n         \"errorhandler\": \"^1.5.0\",\n         \"express\": \"^4.16.3\",\n         \"joi\": \"^13.3.0\",\n         \"jsonwebtoken\": \"^8.2.1\",\n         \"morgan\": \"^1.9.0\",\n-        \"pg\": \"^7.4.3\"\n+        \"pg\": \"^7.0.3\",\n+        \"pg-promise\": \"^8.4.4\",","path":"package.json","position":31,"original_position":31,"commit_id":"91f4d27b6971a9840a5ec42c093df382910bc5da","original_commit_id":"91f4d27b6971a9840a5ec42c093df382910bc5da","user":{"login":"paradisekelechi","id":14928334,"avatar_url":"https://avatars3.githubusercontent.com/u/14928334?v=4","gravatar_id":"","url":"https://api.github.com/users/paradisekelechi","html_url":"https://github.com/paradisekelechi","followers_url":"https://api.github.com/users/paradisekelechi/followers","following_url":"https://api.github.com/users/paradisekelechi/following{/other_user}","gists_url":"https://api.github.com/users/paradisekelechi/gists{/gist_id}","starred_url":"https://api.github.com/users/paradisekelechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paradisekelechi/subscriptions","organizations_url":"https://api.github.com/users/paradisekelechi/orgs","repos_url":"https://api.github.com/users/paradisekelechi/repos","events_url":"https://api.github.com/users/paradisekelechi/events{/privacy}","received_events_url":"https://api.github.com/users/paradisekelechi/received_events","type":"User","site_admin":false},"body":"Remove `pg-promise` since you are not using it ","created_at":"2018-05-22T21:02:56Z","updated_at":"2018-05-22T21:02:56Z","html_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34#discussion_r190052102","pull_request_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/comments/190052102"},"html":{"href":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34#discussion_r190052102"},"pull_request":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34","id":189701241,"html_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34","diff_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34.diff","patch_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34.patch","issue_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/34","number":34,"state":"open","locked":false,"title":"#157720834 Completes user sign up endpoint","user":{"login":"chukwuemekachm","id":33798252,"avatar_url":"https://avatars0.githubusercontent.com/u/33798252?v=4","gravatar_id":"","url":"https://api.github.com/users/chukwuemekachm","html_url":"https://github.com/chukwuemekachm","followers_url":"https://api.github.com/users/chukwuemekachm/followers","following_url":"https://api.github.com/users/chukwuemekachm/following{/other_user}","gists_url":"https://api.github.com/users/chukwuemekachm/gists{/gist_id}","starred_url":"https://api.github.com/users/chukwuemekachm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukwuemekachm/subscriptions","organizations_url":"https://api.github.com/users/chukwuemekachm/orgs","repos_url":"https://api.github.com/users/chukwuemekachm/repos","events_url":"https://api.github.com/users/chukwuemekachm/events{/privacy}","received_events_url":"https://api.github.com/users/chukwuemekachm/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Completes user signup endpoint\r\n#### Description of Task to be completed?\r\n- Write tests for endpoints\r\n- Create POST route to api/v1/auth/signup\r\n- Validate user inputs\r\n- Persist data\r\n- Test using Postman\r\n#### How should this be manually tested?\r\n- Clone the repo\r\n- Startup the command line\r\n- run ``` npm install ```\r\n- run ```npm run start:dev ```\r\n- Test endpoint using Postman\r\n#### Any background context you want to provide?\r\n- You should add a ```.env``` file to the project root\r\n- In the ```.env``` file, specify the ```DATABASE_URL``` as an env_variable\r\n#### What are the relevant pivotal tracker stories?\r\n- #157720834\r\n#### Screenshots (if appropriate)\r\n![screenshot 159](https://user-images.githubusercontent.com/33798252/40372142-feeab3d0-5ddb-11e8-845f-84cbd12148d6.png)\r\n![screenshot 158](https://user-images.githubusercontent.com/33798252/40372164-0d933d62-5ddc-11e8-9f37-875b711a3791.png)\r\n\r\n#### Questions:\r\n- None","created_at":"2018-05-22T15:21:20Z","updated_at":"2018-05-22T21:02:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b42c1b7d1afd079a1f251aa353ccd3e09d57be58","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34/commits","review_comments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34/comments","review_comment_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/34/comments","statuses_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/91f4d27b6971a9840a5ec42c093df382910bc5da","head":{"label":"chukwuemekachm:ft-user-signup-endpoint-157720834","ref":"ft-user-signup-endpoint-157720834","sha":"91f4d27b6971a9840a5ec42c093df382910bc5da","user":{"login":"chukwuemekachm","id":33798252,"avatar_url":"https://avatars0.githubusercontent.com/u/33798252?v=4","gravatar_id":"","url":"https://api.github.com/users/chukwuemekachm","html_url":"https://github.com/chukwuemekachm","followers_url":"https://api.github.com/users/chukwuemekachm/followers","following_url":"https://api.github.com/users/chukwuemekachm/following{/other_user}","gists_url":"https://api.github.com/users/chukwuemekachm/gists{/gist_id}","starred_url":"https://api.github.com/users/chukwuemekachm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukwuemekachm/subscriptions","organizations_url":"https://api.github.com/users/chukwuemekachm/orgs","repos_url":"https://api.github.com/users/chukwuemekachm/repos","events_url":"https://api.github.com/users/chukwuemekachm/events{/privacy}","received_events_url":"https://api.github.com/users/chukwuemekachm/received_events","type":"User","site_admin":false},"repo":{"id":133387421,"name":"Maintenance-Tracker","full_name":"chukwuemekachm/Maintenance-Tracker","owner":{"login":"chukwuemekachm","id":33798252,"avatar_url":"https://avatars0.githubusercontent.com/u/33798252?v=4","gravatar_id":"","url":"https://api.github.com/users/chukwuemekachm","html_url":"https://github.com/chukwuemekachm","followers_url":"https://api.github.com/users/chukwuemekachm/followers","following_url":"https://api.github.com/users/chukwuemekachm/following{/other_user}","gists_url":"https://api.github.com/users/chukwuemekachm/gists{/gist_id}","starred_url":"https://api.github.com/users/chukwuemekachm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukwuemekachm/subscriptions","organizations_url":"https://api.github.com/users/chukwuemekachm/orgs","repos_url":"https://api.github.com/users/chukwuemekachm/repos","events_url":"https://api.github.com/users/chukwuemekachm/events{/privacy}","received_events_url":"https://api.github.com/users/chukwuemekachm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chukwuemekachm/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request.","fork":false,"url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker","forks_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/deployments","created_at":"2018-05-14T16:02:01Z","updated_at":"2018-05-21T03:01:50Z","pushed_at":"2018-05-22T20:52:03Z","git_url":"git://github.com/chukwuemekachm/Maintenance-Tracker.git","ssh_url":"git@github.com:chukwuemekachm/Maintenance-Tracker.git","clone_url":"https://github.com/chukwuemekachm/Maintenance-Tracker.git","svn_url":"https://github.com/chukwuemekachm/Maintenance-Tracker","homepage":null,"size":9852,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"chukwuemekachm:develop","ref":"develop","sha":"1d96cb4a0f59840bf863cac49f7829d471c03de9","user":{"login":"chukwuemekachm","id":33798252,"avatar_url":"https://avatars0.githubusercontent.com/u/33798252?v=4","gravatar_id":"","url":"https://api.github.com/users/chukwuemekachm","html_url":"https://github.com/chukwuemekachm","followers_url":"https://api.github.com/users/chukwuemekachm/followers","following_url":"https://api.github.com/users/chukwuemekachm/following{/other_user}","gists_url":"https://api.github.com/users/chukwuemekachm/gists{/gist_id}","starred_url":"https://api.github.com/users/chukwuemekachm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukwuemekachm/subscriptions","organizations_url":"https://api.github.com/users/chukwuemekachm/orgs","repos_url":"https://api.github.com/users/chukwuemekachm/repos","events_url":"https://api.github.com/users/chukwuemekachm/events{/privacy}","received_events_url":"https://api.github.com/users/chukwuemekachm/received_events","type":"User","site_admin":false},"repo":{"id":133387421,"name":"Maintenance-Tracker","full_name":"chukwuemekachm/Maintenance-Tracker","owner":{"login":"chukwuemekachm","id":33798252,"avatar_url":"https://avatars0.githubusercontent.com/u/33798252?v=4","gravatar_id":"","url":"https://api.github.com/users/chukwuemekachm","html_url":"https://github.com/chukwuemekachm","followers_url":"https://api.github.com/users/chukwuemekachm/followers","following_url":"https://api.github.com/users/chukwuemekachm/following{/other_user}","gists_url":"https://api.github.com/users/chukwuemekachm/gists{/gist_id}","starred_url":"https://api.github.com/users/chukwuemekachm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukwuemekachm/subscriptions","organizations_url":"https://api.github.com/users/chukwuemekachm/orgs","repos_url":"https://api.github.com/users/chukwuemekachm/repos","events_url":"https://api.github.com/users/chukwuemekachm/events{/privacy}","received_events_url":"https://api.github.com/users/chukwuemekachm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chukwuemekachm/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request.","fork":false,"url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker","forks_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/deployments","created_at":"2018-05-14T16:02:01Z","updated_at":"2018-05-21T03:01:50Z","pushed_at":"2018-05-22T20:52:03Z","git_url":"git://github.com/chukwuemekachm/Maintenance-Tracker.git","ssh_url":"git@github.com:chukwuemekachm/Maintenance-Tracker.git","clone_url":"https://github.com/chukwuemekachm/Maintenance-Tracker.git","svn_url":"https://github.com/chukwuemekachm/Maintenance-Tracker","homepage":null,"size":9852,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34"},"html":{"href":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/34"},"issue":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/34"},"comments":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/91f4d27b6971a9840a5ec42c093df382910bc5da"}},"author_association":"OWNER"}}
{"actor":{"display_login":"paradisekelechi"}}