【文件属性】:
文件名称:react-chat:React聊天
文件大小:491KB
文件格式:ZIP
更新时间:2021-05-16 22:17:49
react redux express mongodb antd-mobile
react开发的一款聊天APP
包含
功能预览
[√] react+redux完整实例
[√] fetch获取数据
[√] 项目按路由模块加载
[√] 欢迎主页
[√] 注册、登录、cokie的使用
[√] 聊天室(可开启两个浏览器窗口进行聊天测试)
[√] 实现服务端渲染
[√] 使用新特性对项目做一些优化
[√] 打包上线
下载项目
$ git clone git@github.com:liukaixin01/react-chat.git
$ cd react-chat
$ npm install
开启MongoDB
$ cd /usr/local/mongodb/bin
$ sudo ./mongod
运行node环境
$ npm run node
启动项目
$ npm start
$ npm run serverEs6
打包项目
$ npm run build
效果预览
如果对您有
【文件预览】:
react-chat-master
----.gitignore(292B)
----.babelrc(212B)
----package.json(4KB)
----server()
--------model.js(1KB)
--------server.js(3KB)
--------user.js(4KB)
----package-lock.json(416KB)
----src()
--------components()
--------index.js(507B)
--------static()
--------logo.svg(3KB)
--------App.js(1KB)
--------utils()
--------containers()
--------config.js(294B)
--------constants()
--------reducers()
--------registerServiceWorker.js(4KB)
--------App.css(377B)
--------actions()
--------index.css(632B)
--------App.test.js(208B)
--------store()
----public()
--------index.html(384B)
--------favicon.ico(4KB)
--------manifest.json(317B)
----scripts()
--------build.js(5KB)
--------test.js(734B)
--------start.js(3KB)
----README.md(1KB)
----.idea()
--------misc.xml(174B)
--------react-chat.iml(458B)
----config()
--------polyfills.js(856B)
--------jest()
--------webpack.config.dev.js(12KB)
--------webpackDevServer.config.js(5KB)
--------webpack.config.prod.js(15KB)
--------paths.js(2KB)
--------env.js(3KB)
----cmrh.conf.js(125B)
----yarn.lock(224KB)