{"action":"created","issue":{"url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/11","repository_url":"https://api.github.com/repos/adammpolak/turnuptimesystem","labels_url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/11/comments","events_url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/11/events","html_url":"https://github.com/adammpolak/turnuptimesystem/issues/11","id":183505716,"number":11,"title":"User model","user":{"login":"JJ-xyz","id":21045299,"avatar_url":"https://avatars.githubusercontent.com/u/21045299?v=3","gravatar_id":"","url":"https://api.github.com/users/JJ-xyz","html_url":"https://github.com/JJ-xyz","followers_url":"https://api.github.com/users/JJ-xyz/followers","following_url":"https://api.github.com/users/JJ-xyz/following{/other_user}","gists_url":"https://api.github.com/users/JJ-xyz/gists{/gist_id}","starred_url":"https://api.github.com/users/JJ-xyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JJ-xyz/subscriptions","organizations_url":"https://api.github.com/users/JJ-xyz/orgs","repos_url":"https://api.github.com/users/JJ-xyz/repos","events_url":"https://api.github.com/users/JJ-xyz/events{/privacy}","received_events_url":"https://api.github.com/users/JJ-xyz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T19:31:03Z","updated_at":"2016-10-20T20:26:45Z","closed_at":"2016-10-20T20:26:45Z","body":"according to #1 the user model will look like:\r\n\r\n```\r\nvar mongoose = require('mongoose');\r\nvar Schema = mongoose.Schema;\r\nvar passportLocalMongoose = require('passport-local-mongoose');\r\n\r\n\r\nvar UserSchema = new Schema({\r\n  username: String,\r\n  password: String\r\n});\r\n\r\nUserSchema.plugin(passportLocalMongoose);\r\n\r\nmodule.exports = mongoose.model('User', UserSchema);\r\n```"},"comment":{"url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/comments/255218308","html_url":"https://github.com/adammpolak/turnuptimesystem/issues/11#issuecomment-255218308","issue_url":"https://api.github.com/repos/adammpolak/turnuptimesystem/issues/11","id":255218308,"user":{"login":"Splitbreed","id":21158790,"avatar_url":"https://avatars.githubusercontent.com/u/21158790?v=3","gravatar_id":"","url":"https://api.github.com/users/Splitbreed","html_url":"https://github.com/Splitbreed","followers_url":"https://api.github.com/users/Splitbreed/followers","following_url":"https://api.github.com/users/Splitbreed/following{/other_user}","gists_url":"https://api.github.com/users/Splitbreed/gists{/gist_id}","starred_url":"https://api.github.com/users/Splitbreed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Splitbreed/subscriptions","organizations_url":"https://api.github.com/users/Splitbreed/orgs","repos_url":"https://api.github.com/users/Splitbreed/repos","events_url":"https://api.github.com/users/Splitbreed/events{/privacy}","received_events_url":"https://api.github.com/users/Splitbreed/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T20:26:45Z","updated_at":"2016-10-20T20:26:45Z","body":"Completed"}}
{"actor":{"display_login":"Splitbreed"}}