{"action":"created","issue":{"url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/48","repository_url":"https://api.github.com/repos/MadeleineKemeny/CWC","labels_url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/48/comments","events_url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/48/events","html_url":"https://github.com/MadeleineKemeny/CWC/pull/48","id":494383300,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE4MTQ2MDIw","number":48,"title":"adding user for the admin portal","user":{"login":"jenineellis","id":10965342,"node_id":"MDQ6VXNlcjEwOTY1MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/10965342?v=4","gravatar_id":"","url":"https://api.github.com/users/jenineellis","html_url":"https://github.com/jenineellis","followers_url":"https://api.github.com/users/jenineellis/followers","following_url":"https://api.github.com/users/jenineellis/following{/other_user}","gists_url":"https://api.github.com/users/jenineellis/gists{/gist_id}","starred_url":"https://api.github.com/users/jenineellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenineellis/subscriptions","organizations_url":"https://api.github.com/users/jenineellis/orgs","repos_url":"https://api.github.com/users/jenineellis/repos","events_url":"https://api.github.com/users/jenineellis/events{/privacy}","received_events_url":"https://api.github.com/users/jenineellis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-17T03:40:24Z","updated_at":"2019-09-18T01:33:23Z","closed_at":"2019-09-18T01:33:21Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/MadeleineKemeny/CWC/pulls/48","html_url":"https://github.com/MadeleineKemeny/CWC/pull/48","diff_url":"https://github.com/MadeleineKemeny/CWC/pull/48.diff","patch_url":"https://github.com/MadeleineKemeny/CWC/pull/48.patch"},"body":"Created a user model that only has what is needed for admin login.\r\n\r\n- Email address is required and must be unique\r\n\r\n- Password is required\r\n\r\nOther data can be added but not required as it will impact Admin login. If a value needs to be required it should be done with client side validation\r\n\r\nThe seedUser script in scripts>seedUser should only need to be added to the DB once. \r\nThe script can be run with node scripts/seedUser.js\r\n\r\nFeel free to add your email and password to the seed data if you need a login.\r\n\r\nThis has successfully been tested locally. See screenshot below\r\n![Screen Shot 2019-09-16 at 7 54 20 PM](https://user-images.githubusercontent.com/10965342/65009558-c1f06600-d8d2-11e9-859f-7b04122b32fb.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/comments/532480080","html_url":"https://github.com/MadeleineKemeny/CWC/pull/48#issuecomment-532480080","issue_url":"https://api.github.com/repos/MadeleineKemeny/CWC/issues/48","id":532480080,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMjQ4MDA4MA==","user":{"login":"MadeleineKemeny","id":48488101,"node_id":"MDQ6VXNlcjQ4NDg4MTAx","avatar_url":"https://avatars1.githubusercontent.com/u/48488101?v=4","gravatar_id":"","url":"https://api.github.com/users/MadeleineKemeny","html_url":"https://github.com/MadeleineKemeny","followers_url":"https://api.github.com/users/MadeleineKemeny/followers","following_url":"https://api.github.com/users/MadeleineKemeny/following{/other_user}","gists_url":"https://api.github.com/users/MadeleineKemeny/gists{/gist_id}","starred_url":"https://api.github.com/users/MadeleineKemeny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadeleineKemeny/subscriptions","organizations_url":"https://api.github.com/users/MadeleineKemeny/orgs","repos_url":"https://api.github.com/users/MadeleineKemeny/repos","events_url":"https://api.github.com/users/MadeleineKemeny/events{/privacy}","received_events_url":"https://api.github.com/users/MadeleineKemeny/received_events","type":"User","site_admin":false},"created_at":"2019-09-18T01:33:23Z","updated_at":"2019-09-18T01:33:23Z","author_association":"OWNER","body":"demo'ed and working. nice!"}}
{"actor":{"display_login":"MadeleineKemeny"}}