{"id":13459172,"url":"https://github.com/cnodejs/egg-cnode","last_synced_at":"2025-05-15T15:01:53.006Z","repository":{"id":29986024,"uuid":"123394617","full_name":"cnodejs/egg-cnode","owner":"cnodejs","description":"CNode 社区 Egg 版本","archived":false,"fork":false,"pushed_at":"2024-05-08T09:53:19.000Z","size":1223,"stargazers_count":1476,"open_issues_count":56,"forks_count":285,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-05-08T10:48:54.177Z","etag":null,"topics":["cnode","cnode-egg","egg"],"latest_commit_sha":null,"homepage":"https://cnodejs.org/","language":"JavaScript","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/cnodejs.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":"2018-03-01T06:48:36.000Z","updated_at":"2024-06-13T03:57:15.385Z","dependencies_parsed_at":"2023-01-14T16:03:07.048Z","dependency_job_id":"67815725-bd05-4af4-affc-458a18375d3e","html_url":"https://github.com/cnodejs/egg-cnode","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/cnodejs%2Fegg-cnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnodejs%2Fegg-cnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnodejs%2Fegg-cnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnodejs%2Fegg-cnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnodejs","download_url":"https://codeload.github.com/cnodejs/egg-cnode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364264,"owners_count":22058877,"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":["cnode","cnode-egg","egg"],"created_at":"2024-07-31T09:01:08.123Z","updated_at":"2025-05-15T15:01:52.928Z","avatar_url":"https://github.com/cnodejs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","项目","应用","Applications"],"sub_categories":["插件"],"readme":"# cnode\n\n[![powered by Egg.js][egg-image]][egg]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n\n[egg-image]: https://img.shields.io/badge/Powered%20By-Egg.js-ff69b4.svg?style=flat-square\n[travis-image]: https://img.shields.io/travis/cnodejs/egg-cnode.svg?style=flat-square\n[travis-url]: https://travis-ci.org/cnodejs/egg-cnode\n[codecov-image]: https://img.shields.io/codecov/c/github/cnodejs/egg-cnode.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/cnodejs/egg-cnode\n[david-image]: https://img.shields.io/david/cnodejs/egg-cnode.svg?style=flat-square\n[david-url]: https://david-dm.org/cnodejs/egg-cnode\n[snyk-image]: https://snyk.io/test/github/cnodejs/egg-cnode/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/github/cnodejs/egg-cnode\n\n## QuickStart\n\n\u003c!-- add docs here for user --\u003e\n\nsee [egg docs][egg] for more detail.\n\n### Environment Dependencies\n\n- [redis](https://redis.io/)\n- [mongodb](https://www.mongodb.com/)\n\n#### macOS Install\n\n```bash\nbrew install redis mongodb\nbrew services start redis\nbrew services start mongodb\n```\n\n#### Linux Install\n\nTBD\n\n#### Windows Install\n\nTBD\n\n### Development\n\n```bash\n$ npm i\n$ npm run dev\n$ open http://localhost:7001/\n```\n\n### Deploy\n\n```js \n// {app_root}/config/config.prod.js\n\nexports.mini_assets = true;\n\nexports.alinode = {\n  // 从 `Node.js 性能平台` 获取对应的接入参数\n  appid: process.env.EGG_ALINODE_APPID || '',\n  secret: process.env.EGG_ALINODE_SECRET || '',\n};\n```\n\n```bash\n$ npm i --production\n$ npm run assets\n$ npm start\n$ npm stop\n```\n\n### npm scripts\n\n- Use `npm run lint` to check code style.\n- Use `npm test` to run unit test.\n- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.\n\n### Tutorials\n\n- [Develop / Deploy with Docker](tutorials/Docker.md)\n\n[egg]: https://eggjs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnodejs%2Fegg-cnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnodejs%2Fegg-cnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnodejs%2Fegg-cnode/lists"}