• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

raineroviir/react-redux-socketio-chat: Full Stack Chat Application

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

raineroviir/react-redux-socketio-chat

开源软件地址:

https://github.com/raineroviir/react-redux-socketio-chat

开源编程语言:

JavaScript 98.6%

开源软件介绍:

React-redux-socketio-chat

alt tag To see the live version of the app go to http://slackclone.herokuapp.com

Use Guide

Korean translation

First off, clone the repository and then cd react-redux-socketio-chatand npm install

You can create channels with the + sign on the nav bar on the left. If you click on a user's name to send him a private message (opens a private channel)

Setting up MongoDB

Note: You need MongoDB set up and running to run the code locally. Installation instructions

Once you've installed MongoDB start up the MongoDB server in a new terminal with the following commands:

mkdir db
mongod --dbpath=./db --smallfiles

Then open a new terminal and type in mongo and type in use chat_dev This is your database interface. You can query the database for records for example: db.users.find() or db.stats(). If you want to remove all channels for example you can type db.channels.remove({}).

Now that you've done all that, you can go go ahead and code away!

Development

npm run dev

And then point your browser to localhost:3000

Note: This program comes with redux-dev tools

  • To SHOW or HIDE the dev tool panel press ctrl+h
  • To change position press ctrl+m

Production

npm run build
npm start

And then point your browser to localhost:3000

Helpful Resources and Inspiring Projects

Todos

  • Implement virtual scrolling for the chat and channel modal, so that the dom elements load faster!
  • Figure out a way to make the initial load quicker, loading only above the fold content? pagination? or some other idea



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap