Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaixinfu/react-chat

react-chat
https://github.com/kaixinfu/react-chat

antd-mobile express mongodb react react-router-v4 redux webpack3

Last synced: 28 days ago
JSON representation

react-chat

Awesome Lists containing this project

README

        

# react开发的一款聊天APP

## 包含

- [x] [react](https://reactjs.org/)
- [x] [redux](http://cn.redux.js.org/)
- [x] [react-router](http://www.ruanyifeng.com/blog/2016/05/react_router.html?utm_source=tool.lu)
- [x] [axios](https://www.npmjs.com/package/axios)
- [x] [antd-mobile](https://mobile.ant.design)
- [x] [node.js](http://nodejs.cn/)
- [x] [express](http://www.expressjs.com.cn/)
- [x] [mongodb](http://www.runoob.com/mongodb/mongodb-tutorial.html)

## 功能预览
- [√] react+redux完整实例
- [√] fetch获取数据
- [√] 项目按路由模块加载
- [√] 欢迎主页
- [√] 注册、登录、cokie的使用
- [√] 聊天室(可开启两个浏览器窗口进行聊天测试)
- [√] 实现服务端渲染
- [√] 使用新特性对项目做一些优化
- [√] 打包上线

## 下载项目

```sh
$ git clone [email protected]:liukaixin01/react-chat.git
```
```sh
$ cd react-chat
```
```sh
$ npm install
```

## 开启MongoDB

```sh
$ cd /usr/local/mongodb/bin
```
```sh
$ sudo ./mongod
```

## 运行node环境

```sh
$ npm run node
```
## 启动项目

```sh
$ npm start
```
```sh
$ npm run serverEs6
```
## 打包项目
```sh
$ npm run build
```

## 效果预览


###
>如果对您有帮助,别忘记star哦!