{"action":"opened","issue":{"url":"https://api.github.com/repos/diligence979/github-blog/issues/16","repository_url":"https://api.github.com/repos/diligence979/github-blog","labels_url":"https://api.github.com/repos/diligence979/github-blog/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/diligence979/github-blog/issues/16/comments","events_url":"https://api.github.com/repos/diligence979/github-blog/issues/16/events","html_url":"https://github.com/diligence979/github-blog/issues/16","id":391340122,"node_id":"MDU6SXNzdWUzOTEzNDAxMjI=","number":16,"title":"随记之博客系统二","user":{"login":"diligence979","id":45146434,"node_id":"MDQ6VXNlcjQ1MTQ2NDM0","avatar_url":"https://avatars1.githubusercontent.com/u/45146434?v=4","gravatar_id":"","url":"https://api.github.com/users/diligence979","html_url":"https://github.com/diligence979","followers_url":"https://api.github.com/users/diligence979/followers","following_url":"https://api.github.com/users/diligence979/following{/other_user}","gists_url":"https://api.github.com/users/diligence979/gists{/gist_id}","starred_url":"https://api.github.com/users/diligence979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diligence979/subscriptions","organizations_url":"https://api.github.com/users/diligence979/orgs","repos_url":"https://api.github.com/users/diligence979/repos","events_url":"https://api.github.com/users/diligence979/events{/privacy}","received_events_url":"https://api.github.com/users/diligence979/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-15T03:36:04Z","updated_at":"2018-12-15T03:36:04Z","closed_at":null,"author_association":"OWNER","body":"# 随记之博客系统二\r\n> 学习是缓解焦虑的良药\r\n\r\n开发这个博客系统的后端是从 Egg.js 开始下手的，之前也写过一些 Node.js 的小项目，甚至啃过《Node.js 权威教程》这本书（虽然忘记的差不多了，但是大致记得个大概），然后之前使用的是 express，后来发现 Koa 在社区混的风生水起，就转型用 Koa，也学习一下。正好，Egg.js 是基于 Koa 的～\r\n\r\n## Egg.js 杂谈\r\nsever 部分的目录结构已经成型：\r\n\r\n<img width=\"293\" alt=\"2018-12-15 11 27 05\" src=\"https://user-images.githubusercontent.com/45146434/50038564-7adff680-005c-11e9-98c6-70bc4b451495.png\">\r\n\r\n* app\r\n  * controller\r\n  * model\r\n  * public\r\n  * router\r\n  * service\r\n  * util\r\n  * router.js\r\n* config\r\n  * config.default.js\r\n  * plugin.js\r\n* database\r\n* logs\r\n* node_modules\r\n* run\r\n* test\r\n* .autod.conf.js\r\n* .eslintignore\r\n* .eslintrc\r\n* .sequelizerc\r\n* .travis.yml\r\n* app.js\r\n* appveyor.yml\r\n* config.js\r\n* package-lock.json\r\n* package.json\r\n"}}
{"actor":{"display_login":"diligence979"}}