{"id":16330815,"url":"https://github.com/cacivy/koa-typescript","last_synced_at":"2025-03-20T22:32:16.275Z","repository":{"id":89576759,"uuid":"75139447","full_name":"Cacivy/koa-typescript","owner":"Cacivy","description":"🚀️koa2 \u0026 typescript","archived":false,"fork":false,"pushed_at":"2019-03-29T12:12:31.000Z","size":361,"stargazers_count":38,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T18:33:59.599Z","etag":null,"topics":["blog","koa2","mongdb","reset","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cacivy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-30T01:41:51.000Z","updated_at":"2022-11-15T12:34:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"c22b75c1-6b63-422e-ae64-30ba19710562","html_url":"https://github.com/Cacivy/koa-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fkoa-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fkoa-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fkoa-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fkoa-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cacivy","download_url":"https://codeload.github.com/Cacivy/koa-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244704201,"owners_count":20496261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blog","koa2","mongdb","reset","typescript"],"created_at":"2024-10-10T23:24:36.577Z","updated_at":"2025-03-20T22:32:16.265Z","avatar_url":"https://github.com/Cacivy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koa2 \u0026 TypeScript2\n\n\u003e 这是一个基于Koa2和TypeScript的nodejs项目。\n\n### todo\n\n- [x] 实时监测\n- [x] sourcemap debug\n- [x] restful api\n- [x] jade模版\n- [x] logger\n- [x] 路由自动匹配controller\n- [x] 统一数据返回格式\n- [x] 集成[restc](https://github.com/ElemeFE/restc)\n- [x] 自动完成api文档[apidoc](https://github.com/apidoc/apidoc)\n\n### dev\n\n```\ndocker-compose up\n```\n\n```\n# initialize\nnpm i -g typescript typings\n\n# install\nnpm i \u0026 typings i\n\n# watch\u0026build typescript\ntsc\n\n# server\nnpm run dev\n\n# doc\nnpm i apidoc -g\nnpm run doc\n```\n\n\u003e 推荐使用[VS Code](https://code.visualstudio.com), 以便于获得最好的typescript开发体验\n\n### directory\n\n```\n.\n├── build 转换后的js\n├── node_modules\n├── src ts目录\n\t├── controller 对应路由\n\t├── log 日志文件夹\n\t├── model mongoodb Schema\n\t├── util\n├── static 静态代理文件夹\n├── views jade模版\n├── package.json\n├── tsconfig.json ts配置文件\n├── typings.json\n└── README.md\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacivy%2Fkoa-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcacivy%2Fkoa-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacivy%2Fkoa-typescript/lists"}