{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/71","id":193473585,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDczNTg1","html_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/71","diff_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/71.diff","patch_url":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/71.patch","issue_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/71","number":71,"state":"closed","locked":false,"title":"#158148907 Completes email notification for users","user":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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 email notification for users\r\n#### Description of Task to be completed?\r\n- Install nodemailer\r\n- Add extensions directory in server\r\n- Add emailSender.js and configure nodemailer\r\n- Add async method to build user mail message body\r\n- Add async method to send email\r\n- Configure .babelrc to support async/await\r\n- Implement emailSender in AdminController methods\r\n#### How should this be manually tested?\r\n- Clone the repo\r\n- Startup command line\r\n- cd to project root\r\n- run ``` npm install ```\r\n- run ``` npm run start:dev ```\r\n- Open Postman and create a PUT request to ` localhost:3000/api/v1/requests/:requestId/approve`\r\n#### Any Background contest?\r\n- To setup _**Maintenace Tracker**_ click [here](https://github.com/chukwuemekachm/Maintenance-Tracker#getting-started)\r\n#### What are the relevant pivotal tracker stories?\r\n- #158148907\r\n#### Screenshots (if appropriate)\r\n- None\r\n#### Questions:\r\n- None","created_at":"2018-06-07T23:27:13Z","updated_at":"2018-06-08T00:31:37Z","closed_at":"2018-06-08T00:31:37Z","merged_at":"2018-06-08T00:31:37Z","merge_commit_sha":"abc5c9592b105f1854b3faf278d98b0a28e6c116","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/71/commits","review_comments_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/71/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/71/comments","statuses_url":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/e04bb654c381d3e87cd8b0465d0ae7fd7a65b67a","head":{"label":"chukwuemekachm:ft-user-email-notification-server-158148907","ref":"ft-user-email-notification-server-158148907","sha":"e04bb654c381d3e87cd8b0465d0ae7fd7a65b67a","user":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzODc0MjE=","name":"Maintenance-Tracker","full_name":"chukwuemekachm/Maintenance-Tracker","owner":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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-06-07T03:16:34Z","pushed_at":"2018-06-08T00:31:37Z","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":10716,"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":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"chukwuemekachm:develop","ref":"develop","sha":"87b8d18b99fb2898f10cff979791b7b80805cf53","user":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzODc0MjE=","name":"Maintenance-Tracker","full_name":"chukwuemekachm/Maintenance-Tracker","owner":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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-06-07T03:16:34Z","pushed_at":"2018-06-08T00:31:37Z","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":10716,"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":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/71"},"html":{"href":"https://github.com/chukwuemekachm/Maintenance-Tracker/pull/71"},"issue":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/71"},"comments":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/pulls/71/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/71/commits"},"statuses":{"href":"https://api.github.com/repos/chukwuemekachm/Maintenance-Tracker/statuses/e04bb654c381d3e87cd8b0465d0ae7fd7a65b67a"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"chukwuemekachm","id":33798252,"node_id":"MDQ6VXNlcjMzNzk4MjUy","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},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":77,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"chukwuemekachm"}}