{"id":21934294,"url":"https://github.com/jayjay1024/nodeclub-koa2","last_synced_at":"2026-04-05T08:35:39.813Z","repository":{"id":46013404,"uuid":"195602475","full_name":"JayJay1024/nodeclub-koa2","owner":"JayJay1024","description":"nodeclub-koa2 is base on nodeclub","archived":false,"fork":false,"pushed_at":"2021-12-01T15:27:36.000Z","size":1139,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T00:04:42.123Z","etag":null,"topics":["koa","koa2","koajs","node","node-js","nodeclub","nodeclub-koa","nodeclub-koa2"],"latest_commit_sha":null,"homepage":"http://47.74.189.3:3030/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JayJay1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-07T02:42:33.000Z","updated_at":"2021-11-16T14:57:28.000Z","dependencies_parsed_at":"2022-08-02T15:30:06.226Z","dependency_job_id":null,"html_url":"https://github.com/JayJay1024/nodeclub-koa2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JayJay1024/nodeclub-koa2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayJay1024%2Fnodeclub-koa2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayJay1024%2Fnodeclub-koa2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayJay1024%2Fnodeclub-koa2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayJay1024%2Fnodeclub-koa2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayJay1024","download_url":"https://codeload.github.com/JayJay1024/nodeclub-koa2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayJay1024%2Fnodeclub-koa2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31430009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["koa","koa2","koajs","node","node-js","nodeclub","nodeclub-koa","nodeclub-koa2"],"created_at":"2024-11-29T00:15:15.432Z","updated_at":"2026-04-05T08:35:39.621Z","avatar_url":"https://github.com/JayJay1024.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodeclub-koa2\n\n### 说明\n`nodeclub-koa2`是基于[`nodeclub`](https://github.com/cnodejs/nodeclub/)的`koa2`实现，欢迎大家提`Issue/PR`。\n\n`nodeclub`是`express`框架的，`nodeclub-koa2`除了框架不一样之外，还有一些其他的修改:\n\n- 替换由于框架差异的`npm pkg`;\n- 去除/替换一些比较老旧的`npm pkg`;\n- 去除`EventProxy`、`Callback`异步编程的写法;\n- 使用`Promise`、`async/await`等语法(发现改过之后很多写法确实精简很多);\n- 替换`art-template`模板引擎(原来的`ejs-mate`不支持`koa2`晕，不过现在这个除了没有母版页，速度还是很快的);\n- 原来的`multiline`提示废弃了，改为使用模板字符串;\n- 使用`koa-body`支持文件上传下传;\n- ...\n\n### 下载安装\n```\n^_^ ~ $: git clone https://github.com/LucienLau/nodeclub-koa2.git\n^_^ ~ $: cd nodeclub-koa2 \u0026\u0026 npm install\n```\n\n### 测试\n把`config.js`中`debug`置为`true`，然后`^_^ ~ $: npm test`\n\n### 启动\n`^_^ ~ $: npm start`\n\n### Note\n使用前需要安装并启动`mongo`和`redis`数据库\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayjay1024%2Fnodeclub-koa2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayjay1024%2Fnodeclub-koa2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayjay1024%2Fnodeclub-koa2/lists"}