{"id":23654154,"url":"https://github.com/xiaofan9/koa-generator","last_synced_at":"2026-04-16T04:31:59.878Z","repository":{"id":42668102,"uuid":"132350885","full_name":"xiaofan9/koa-generator","owner":"xiaofan9","description":"koa 生成器","archived":false,"fork":false,"pushed_at":"2023-01-24T04:47:55.000Z","size":735,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T05:36:12.800Z","etag":null,"topics":["koa","koa-generator","koa2","koa2-generator","node","nodejs"],"latest_commit_sha":null,"homepage":"","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/xiaofan9.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":"2018-05-06T15:20:54.000Z","updated_at":"2021-06-13T00:28:52.000Z","dependencies_parsed_at":"2023-02-13T17:41:19.972Z","dependency_job_id":null,"html_url":"https://github.com/xiaofan9/koa-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/xiaofan9/koa-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan9%2Fkoa-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan9%2Fkoa-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan9%2Fkoa-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan9%2Fkoa-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaofan9","download_url":"https://codeload.github.com/xiaofan9/koa-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan9%2Fkoa-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31871502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","koa-generator","koa2","koa2-generator","node","nodejs"],"created_at":"2024-12-28T18:57:25.606Z","updated_at":"2026-04-16T04:31:59.860Z","avatar_url":"https://github.com/xiaofan9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## koa-generator\n\n\u003e koa 生成器\n\n### 一般的规定  \n    app/controller 解析具体路由，处理用户的输入，返回相应的结果  \n    app/middleware 中间件  \n    app/modle 数据库  \n    app/service 复杂业务的抽象层（如复杂数据的处理，第三方服务调用  \n    app/uitls 工具  \n    app/view 视图页面  \n  \n    public 放置静态资源  \n    config 配置文件夹  \n    bin 运行目录  \n    test 单元测试目录  \n    \n### 使用\n\nfork 到自己的gihub后，通过git clone xxx，然后打开对应文件夹运行 npm run init，完成后即可使用了\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaofan9%2Fkoa-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaofan9%2Fkoa-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaofan9%2Fkoa-generator/lists"}