Giter Club home page Giter Club logo

react-chat's Introduction

技术栈

react + redux + react-router4 + webapck3 + axios + antd-mobile + express + MongoDB + socket.io

项目介绍

本项目学习于慕课网,是一个仿制的带实时聊天的招聘APP,利用express实现了登陆、注册、注销的功能,利用MongoDB存储数据,ui组件用到了antd-mobile,全局共享状态用到了redux,路由切换则是用到了最新的react-router v4,向后端发送请求则用到了axios,即时聊天用到了socket.io,项目的搭建用到了webpack3,整个APP则用到了react这个框架,通过这个项目我理解了前后端交互,并且理解了redux,可谓收货颇丰。

项目运行

注意:由于本项目用到了MongoDB,所以需要本地安装了MongoDB才能正常运行

git clone
cd react-chat
cnpm i

npm start

先打开MongoDB,另起一个命令窗口

启动后端服务
cd server 
node server.js

项目本地运行截图

首页

注册

注册信息完善页

boss列表

消息列表

用户信息

用户注销

聊天页面

发送信息页

react-chat's People

Contributors

dcbryant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.