{"action":"closed","issue":{"url":"https://api.github.com/repos/typicode/json-server/issues/306","repository_url":"https://api.github.com/repos/typicode/json-server","labels_url":"https://api.github.com/repos/typicode/json-server/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/typicode/json-server/issues/306/comments","events_url":"https://api.github.com/repos/typicode/json-server/issues/306/events","html_url":"https://github.com/typicode/json-server/issues/306","id":160098727,"number":306,"title":"404","user":{"login":"brandonros","id":8949910,"avatar_url":"https://avatars.githubusercontent.com/u/8949910?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonros","html_url":"https://github.com/brandonros","followers_url":"https://api.github.com/users/brandonros/followers","following_url":"https://api.github.com/users/brandonros/following{/other_user}","gists_url":"https://api.github.com/users/brandonros/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonros/subscriptions","organizations_url":"https://api.github.com/users/brandonros/orgs","repos_url":"https://api.github.com/users/brandonros/repos","events_url":"https://api.github.com/users/brandonros/events{/privacy}","received_events_url":"https://api.github.com/users/brandonros/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-14T05:12:54Z","updated_at":"2016-06-14T14:28:18Z","closed_at":"2016-06-14T14:28:17Z","body":"```\r\nbrandon@Kyle:~/fba$ node fba.js\r\nJSON Server is running\r\nGET / 200 25.453 ms - -\r\nPOST /scans 404 11.720 ms - 2\r\n```\r\n\r\nfba.js\r\n```\r\nvar jsonServer = require('json-server');\r\n\r\nvar server = jsonServer.create();\r\nvar router = jsonServer.router('db.json');\r\nvar middlewares = jsonServer.defaults();\r\n\r\nserver.use(middlewares);\r\nserver.use(router);\r\n\r\nserver.listen(10000, function () {\r\n\tconsole.log('JSON Server is running')\r\n});\r\n```\r\n\r\ndb.json\r\n```\r\n{\r\n\t\"posts\": []\r\n}\r\n```"}}
{"actor":{"display_login":"brandonros"}}