{"id":14976485,"url":"https://github.com/kaixinfu/react-chat","last_synced_at":"2025-10-27T20:32:11.695Z","repository":{"id":188601976,"uuid":"110560802","full_name":"kaixinfu/react-chat","owner":"kaixinfu","description":"react-chat","archived":false,"fork":false,"pushed_at":"2018-05-27T07:10:15.000Z","size":617,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T08:06:32.066Z","etag":null,"topics":["antd-mobile","express","mongodb","react","react-router-v4","redux","webpack3"],"latest_commit_sha":null,"homepage":null,"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/kaixinfu.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-11-13T14:48:22.000Z","updated_at":"2019-05-05T03:21:30.000Z","dependencies_parsed_at":"2023-08-16T04:14:57.050Z","dependency_job_id":null,"html_url":"https://github.com/kaixinfu/react-chat","commit_stats":null,"previous_names":["kaixinfu/react-chat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaixinfu%2Freact-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaixinfu%2Freact-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaixinfu%2Freact-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaixinfu%2Freact-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaixinfu","download_url":"https://codeload.github.com/kaixinfu/react-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238553299,"owners_count":19491403,"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-mobile","express","mongodb","react","react-router-v4","redux","webpack3"],"created_at":"2024-09-24T13:53:57.502Z","updated_at":"2025-10-27T20:32:06.340Z","avatar_url":"https://github.com/kaixinfu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react开发的一款聊天APP\n\n## 包含\n\n- [x] [react](https://reactjs.org/)\n- [x] [redux](http://cn.redux.js.org/)\n- [x] [react-router](http://www.ruanyifeng.com/blog/2016/05/react_router.html?utm_source=tool.lu)\n- [x] [axios](https://www.npmjs.com/package/axios)\n- [x] [antd-mobile](https://mobile.ant.design)\n- [x] [node.js](http://nodejs.cn/)\n- [x] [express](http://www.expressjs.com.cn/)\n- [x] [mongodb](http://www.runoob.com/mongodb/mongodb-tutorial.html)\n\n## 功能预览\n- [√] react+redux完整实例\n- [√] fetch获取数据\n- [√] 项目按路由模块加载\n-  [√] 欢迎主页\n- [√] 注册、登录、cokie的使用\n- [√] 聊天室(可开启两个浏览器窗口进行聊天测试)\n- [√] 实现服务端渲染\n- [√] 使用新特性对项目做一些优化\n- [√] 打包上线\n\n## 下载项目\n\n```sh\n$ git clone git@github.com:liukaixin01/react-chat.git\n```\n```sh\n$ cd react-chat\n```\n```sh\n$ npm install\n```\n\n## 开启MongoDB\n\n```sh\n$ cd /usr/local/mongodb/bin\n```\n```sh\n$ sudo ./mongod\n```\n\n## 运行node环境\n\n```sh\n$ npm run node\n```\n## 启动项目\n\n```sh\n$ npm start\n```\n```sh\n$ npm run serverEs6\n```\n## 打包项目\n```sh\n$ npm run build\n```\n\n## 效果预览\n\u003cimg src=\"http://liukaixin.cn/react-chat/git-hub/chat-login.gif\" width=\"400\"\u003e  \u003cimg src=\"http://liukaixin.cn/react-chat/git-hub/chat-go.gif\" width=\"400\"\u003e\n\u003cimg src=\"http://liukaixin.cn/react-chat/git-hub/chating.gif\" width=\"800\"\u003e\n###\n\u003e如果对您有帮助，别忘记star哦！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaixinfu%2Freact-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaixinfu%2Freact-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaixinfu%2Freact-chat/lists"}