{"id":21716531,"url":"https://github.com/hijesse/demeter","last_synced_at":"2025-04-12T20:12:15.602Z","repository":{"id":89598546,"uuid":"96892925","full_name":"HiJesse/Demeter","owner":"HiJesse","description":"Nodejs/ES6/Rxjs/MySQL/Express/Webpack/React/Redux/AntD","archived":false,"fork":false,"pushed_at":"2019-01-09T06:53:23.000Z","size":866,"stargazers_count":42,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T14:23:07.804Z","etag":null,"topics":["antd","es6","expressjs","mongodb","nodejs","react","redux","webpack"],"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/HiJesse.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,"governance":null}},"created_at":"2017-07-11T12:55:11.000Z","updated_at":"2025-01-16T10:27:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"51a64dc4-9598-4a3a-b198-dfd2e7ca621d","html_url":"https://github.com/HiJesse/Demeter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiJesse%2FDemeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiJesse%2FDemeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiJesse%2FDemeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiJesse%2FDemeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HiJesse","download_url":"https://codeload.github.com/HiJesse/Demeter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625505,"owners_count":21135513,"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":["antd","es6","expressjs","mongodb","nodejs","react","redux","webpack"],"created_at":"2024-11-26T01:11:54.166Z","updated_at":"2025-04-12T20:12:15.575Z","avatar_url":"https://github.com/HiJesse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Demeter\n---\n\nDemeter是一个CMS系统, 提供用户体系以及App项目相关内容管理. 其中会包括用户模块, 项目模块和归档模块等. 该系统会长期迭代和维护.\n\n| 技术栈 | 描述 |\n| --- | ---------- |\n| ES6 | 项目代码以ES2015为标准 |\n| Rxjs | 构建流式应用 |\n| MySQL | 使用MySQL作为数据持久化容器 |\n| Express | 基于nodejs的Web后端开发框架 |\n| JWT | 使用JWT实现前后端校验 |\n| React | 构建前端框架 |\n| react-router | 控制前端路由 |\n| Redux | 管理React的状态流 |\n| Redux-observable | 处理异步redux action |\n| Webpack | 打包React代码, 并提供dev-server |\n| AntD | 使用AntD提供的UI组件 |\n| log4js | 管理并记录日志 |\n\n### 项目部署和启动\n\n1. `nodejs`版本为`7.2.1`.\n2. 根据`/config/Config.js`中的MySQL配置, 创建相应的数据库名称, 地址, 账号和密码.\n3. clone仓库, 在项目跟目录下执行`npm install`.\n4. 在项目根目录下执行`npm run packBundle`生成bundle.\n5. 安装配置pm2 `npm install pm2 -g`.\n6. 项目根目录下 `npm run deploy`部署项目.\n7. 浏览器打开`/config/Config.js`中配置的地址, 进入demeter登录页.\n8. 使用初始管理员账号密码`admin/a123456`登录.\n9. 根目录下 `npm run undeploy`卸载项目.\n\n内网部署, 服务连续在线两月+.\n\n![](https://raw.githubusercontent.com/HiJesse/Static-Res/master/image/demeter/dashboard_keymetrics.png)\n\n### WIKI\n\n1. [用户模块](https://github.com/HiJesse/Demeter/wiki/用户模块)\n2. [项目模块](https://github.com/HiJesse/Demeter/wiki/项目模块)\n3. [归档模块](https://github.com/HiJesse/Demeter/wiki/归档模块)\n\n### 相关文档\n\n* [在redux-observable中替换fetch请求网络数据](http://blog.csdn.net/l2show/article/details/77444082)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhijesse%2Fdemeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhijesse%2Fdemeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhijesse%2Fdemeter/lists"}