{"id":25944836,"url":"https://github.com/raoul1996/robot","last_synced_at":"2026-04-09T12:03:26.460Z","repository":{"id":42448217,"uuid":"115736628","full_name":"Raoul1996/robot","owner":"Raoul1996","description":"悲从心中起，锅从天上来","archived":false,"fork":false,"pushed_at":"2024-09-11T02:19:41.000Z","size":1489,"stargazers_count":0,"open_issues_count":36,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-11T07:33:14.512Z","etag":null,"topics":["bithound","egg","eggjs","maintenance","mysql","nodejs","react","react-ssr","restful-api","travis","yml"],"latest_commit_sha":null,"homepage":"https://robot.raoul1996.cn","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/Raoul1996.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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":"2017-12-29T16:15:22.000Z","updated_at":"2018-01-06T12:08:20.000Z","dependencies_parsed_at":"2023-12-21T01:38:51.065Z","dependency_job_id":"6a7f2ef6-c323-4054-9612-5e0bf1fb028e","html_url":"https://github.com/Raoul1996/robot","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/Raoul1996%2Frobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Frobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Frobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Frobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raoul1996","download_url":"https://codeload.github.com/Raoul1996/robot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241809532,"owners_count":20023787,"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":["bithound","egg","eggjs","maintenance","mysql","nodejs","react","react-ssr","restful-api","travis","yml"],"created_at":"2025-03-04T08:19:21.047Z","updated_at":"2025-10-25T20:41:02.080Z","avatar_url":"https://github.com/Raoul1996.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-react-robot\n[![Build Status](https://travis-ci.org/Raoul1996/robot.svg?branch=master)](https://travis-ci.org/Raoul1996/robot)\n[![bitHound Overall Score](https://www.bithound.io/github/Raoul1996/robot/badges/score.svg)](https://www.bithound.io/github/Raoul1996/robot)\n[![bitHound Dependencies](https://www.bithound.io/github/Raoul1996/robot/badges/dependencies.svg)](https://www.bithound.io/github/Raoul1996/robot/master/dependencies/npm)\n[![bitHound Dev Dependencies](https://www.bithound.io/github/Raoul1996/robot/badges/devDependencies.svg)](https://www.bithound.io/github/Raoul1996/robot/master/dependencies/npm)\n[![bitHound Code](https://www.bithound.io/github/Raoul1996/robot/badges/code.svg)](https://www.bithound.io/github/Raoul1996/robot)\n[![Maintainability](https://api.codeclimate.com/v1/badges/fe3c319a169a79af17ba/maintainability)](https://codeclimate.com/github/Raoul1996/robot/maintainability)\n\n\u003e 悲从心头起，锅从天上来。体验一波 SSR\n\n脚手架文档[在这里](OLDREADME.md)\n\n## 技术栈\n- Egg 版本： ^2.x.x\n- Node 版本: Node ^8.x.x+,\n- Webpack 版本: ^3.5.5, 对应 `easywebpack-react` 版本为 3.0.0\n- React 版本: ^15.0.0, ^16.0.0,\n\n## 踩坑日志\n\n#### 20171230 配置 travis-ci、项目初次尝试\n- egg 在编译的时候需要 `.eslintrc` 配置文件，所以部署到服务器的时候需要将项目中的隐藏文件一起打包,解决方法见 [.travis.yml](.travis.yml) 中这个部分：\n   ```\n    # 压缩，为上传准备\n    # 因为 egg 进行编译的时候会需要 ESLint 的配置文件，所以隐藏文件需要打包\n    - tar -jcf robot.tar.bz2 * .*\n    ```\n- 在创建新的 router 之后，需要重启服务\n- [关闭安全威胁csrf防范？](https://github.com/eggjs/egg/issues/509)，这个设置极其不安全，所以打了 TODO\n- 配置数据库是在 config 下面的 plugin 中开启，在 config/config.${env}.js 配置各个环境的数据库连接信息\n#### 20180117 Recharts 配置与按需引用，并绘制散点图\n- Recharts 中的 dataKey 对应的值需要时数字，使用字符串不能绘制出图像，所以修改数据库records 表中的 varchar -\u003e bigint\n\n## 开发日志\n#### 20171230\n- 配置 travis-ci\n- 熟悉框架\n- 设计数据表\n- 设计接口\n#### 20180117\n- 服务端渲染模板配置\n- 引入 Recharts\n- 按需引用","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Frobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraoul1996%2Frobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Frobot/lists"}