{"action":"created","comment":{"url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/comments/113144925","pull_request_review_id":34508467,"id":113144925,"diff_hunk":"@@ -0,0 +1,28 @@\n+import axios from 'axios';\n+import jwtDecode from 'jwt-decode';\n+import actionTypes from '../actionTypes';\n+\n+export default (credentials) => {","path":"client/src/actions/authActions/loginAction.js","position":5,"original_position":5,"commit_id":"08a95b84c6d25c426adcb11bd6245594ef86c671","original_commit_id":"08a95b84c6d25c426adcb11bd6245594ef86c671","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected block statement surrounding arrow body  arrow-body-style","created_at":"2017-04-25T09:20:42Z","updated_at":"2017-04-25T09:20:43Z","html_url":"https://github.com/andela-eshaibu/document_management_system/pull/4#discussion_r113144925","pull_request_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/comments/113144925"},"html":{"href":"https://github.com/andela-eshaibu/document_management_system/pull/4#discussion_r113144925"},"pull_request":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4","id":117146002,"html_url":"https://github.com/andela-eshaibu/document_management_system/pull/4","diff_url":"https://github.com/andela-eshaibu/document_management_system/pull/4.diff","patch_url":"https://github.com/andela-eshaibu/document_management_system/pull/4.patch","issue_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/4","number":4,"state":"open","locked":false,"title":"Feature add client signup login","user":{"login":"andela-eshaibu","id":25608317,"avatar_url":"https://avatars0.githubusercontent.com/u/25608317?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eshaibu","html_url":"https://github.com/andela-eshaibu","followers_url":"https://api.github.com/users/andela-eshaibu/followers","following_url":"https://api.github.com/users/andela-eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eshaibu/subscriptions","organizations_url":"https://api.github.com/users/andela-eshaibu/orgs","repos_url":"https://api.github.com/users/andela-eshaibu/repos","events_url":"https://api.github.com/users/andela-eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eshaibu/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n\r\nThis PR adds login and signup functionality to app frontend\r\n#### Description of Task to be completed?\r\n\r\nThe task adds login, sign up and fetch documents accessible to user functionality to frontend of the app using react/redux.\r\n#### How should this be manually tested?\r\n\r\n* Clone the repo using : `git clone https://github.com/andela-eshaibu/document_management_system.git`\r\n* Run the following command in your terminal to install dependencies\r\n```\r\ncd document_management_system\r\nnpm install\r\n```\r\n* Create a `.env` file in the repo's root directory, copy the content of the `.env.sample` file and  paste in `.env` file.\r\n* Edit the .env file content with the appropriate value for your database url values and default information about the default admin.\r\n* Run `npm start` to start application\r\n* Open your browser and navigate to `http://localhost:8000`\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n#### What are the relevant pivotal tracker stories?\r\n\r\n* #144091765 - Frontend login\r\n* #144091789 - Frontend signup\r\n* #144091813 - User dashboard\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"1251\" alt=\"home\" src=\"https://cloud.githubusercontent.com/assets/25608317/25313177/a610cf92-2821-11e7-95db-ebc24454f24b.png\">\r\n","created_at":"2017-04-23T11:38:12Z","updated_at":"2017-04-25T09:20:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bed52570157e3e39b276e91c50572b56328f1c75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4/commits","review_comments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4/comments","review_comment_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/4/comments","statuses_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/statuses/08a95b84c6d25c426adcb11bd6245594ef86c671","head":{"label":"andela-eshaibu:feature/client_signup_login","ref":"feature/client_signup_login","sha":"08a95b84c6d25c426adcb11bd6245594ef86c671","user":{"login":"andela-eshaibu","id":25608317,"avatar_url":"https://avatars0.githubusercontent.com/u/25608317?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eshaibu","html_url":"https://github.com/andela-eshaibu","followers_url":"https://api.github.com/users/andela-eshaibu/followers","following_url":"https://api.github.com/users/andela-eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eshaibu/subscriptions","organizations_url":"https://api.github.com/users/andela-eshaibu/orgs","repos_url":"https://api.github.com/users/andela-eshaibu/repos","events_url":"https://api.github.com/users/andela-eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eshaibu/received_events","type":"User","site_admin":false},"repo":{"id":86265417,"name":"document_management_system","full_name":"andela-eshaibu/document_management_system","owner":{"login":"andela-eshaibu","id":25608317,"avatar_url":"https://avatars0.githubusercontent.com/u/25608317?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eshaibu","html_url":"https://github.com/andela-eshaibu","followers_url":"https://api.github.com/users/andela-eshaibu/followers","following_url":"https://api.github.com/users/andela-eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eshaibu/subscriptions","organizations_url":"https://api.github.com/users/andela-eshaibu/orgs","repos_url":"https://api.github.com/users/andela-eshaibu/repos","events_url":"https://api.github.com/users/andela-eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eshaibu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-eshaibu/document_management_system","description":"Document management system is a system that manages documents, users, user roles and permissions.","fork":false,"url":"https://api.github.com/repos/andela-eshaibu/document_management_system","forks_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/forks","keys_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/teams","hooks_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/hooks","issue_events_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/events{/number}","events_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/events","assignees_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/assignees{/user}","branches_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/branches{/branch}","tags_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/tags","blobs_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/languages","stargazers_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/stargazers","contributors_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/contributors","subscribers_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/subscribers","subscription_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/subscription","commits_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/contents/{+path}","compare_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/merges","archive_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/downloads","issues_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues{/number}","pulls_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/labels{/name}","releases_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/releases{/id}","deployments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/deployments","created_at":"2017-03-26T21:15:27Z","updated_at":"2017-03-27T10:21:48Z","pushed_at":"2017-04-25T09:20:15Z","git_url":"git://github.com/andela-eshaibu/document_management_system.git","ssh_url":"git@github.com:andela-eshaibu/document_management_system.git","clone_url":"https://github.com/andela-eshaibu/document_management_system.git","svn_url":"https://github.com/andela-eshaibu/document_management_system","homepage":null,"size":506,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":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":"develop"}},"base":{"label":"andela-eshaibu:develop","ref":"develop","sha":"9a15d09df9d84404a40f77396c66b03e57a00409","user":{"login":"andela-eshaibu","id":25608317,"avatar_url":"https://avatars0.githubusercontent.com/u/25608317?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eshaibu","html_url":"https://github.com/andela-eshaibu","followers_url":"https://api.github.com/users/andela-eshaibu/followers","following_url":"https://api.github.com/users/andela-eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eshaibu/subscriptions","organizations_url":"https://api.github.com/users/andela-eshaibu/orgs","repos_url":"https://api.github.com/users/andela-eshaibu/repos","events_url":"https://api.github.com/users/andela-eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eshaibu/received_events","type":"User","site_admin":false},"repo":{"id":86265417,"name":"document_management_system","full_name":"andela-eshaibu/document_management_system","owner":{"login":"andela-eshaibu","id":25608317,"avatar_url":"https://avatars0.githubusercontent.com/u/25608317?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eshaibu","html_url":"https://github.com/andela-eshaibu","followers_url":"https://api.github.com/users/andela-eshaibu/followers","following_url":"https://api.github.com/users/andela-eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eshaibu/subscriptions","organizations_url":"https://api.github.com/users/andela-eshaibu/orgs","repos_url":"https://api.github.com/users/andela-eshaibu/repos","events_url":"https://api.github.com/users/andela-eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eshaibu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-eshaibu/document_management_system","description":"Document management system is a system that manages documents, users, user roles and permissions.","fork":false,"url":"https://api.github.com/repos/andela-eshaibu/document_management_system","forks_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/forks","keys_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/teams","hooks_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/hooks","issue_events_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/events{/number}","events_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/events","assignees_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/assignees{/user}","branches_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/branches{/branch}","tags_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/tags","blobs_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/languages","stargazers_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/stargazers","contributors_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/contributors","subscribers_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/subscribers","subscription_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/subscription","commits_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/contents/{+path}","compare_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/merges","archive_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/downloads","issues_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues{/number}","pulls_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/labels{/name}","releases_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/releases{/id}","deployments_url":"https://api.github.com/repos/andela-eshaibu/document_management_system/deployments","created_at":"2017-03-26T21:15:27Z","updated_at":"2017-03-27T10:21:48Z","pushed_at":"2017-04-25T09:20:15Z","git_url":"git://github.com/andela-eshaibu/document_management_system.git","ssh_url":"git@github.com:andela-eshaibu/document_management_system.git","clone_url":"https://github.com/andela-eshaibu/document_management_system.git","svn_url":"https://github.com/andela-eshaibu/document_management_system","homepage":null,"size":506,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4"},"html":{"href":"https://github.com/andela-eshaibu/document_management_system/pull/4"},"issue":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/4"},"comments":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/andela-eshaibu/document_management_system/statuses/08a95b84c6d25c426adcb11bd6245594ef86c671"}}}}
{"actor":{"display_login":"houndci-bot"}}