react-redux-socketio-chat

Full Stack Chat Application

  • 所有者: raineroviir/react-redux-socketio-chat
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者raineroviir/react-redux-socketio-chat
主編程語言JavaScript
編程語言JavaScript (語言數: 2)
平台
許可證
所有者活动
創建於2015-07-30 23:02:08
推送於2023-01-26 13:52:54
最后一次提交2019-12-20 22:01:34
發布數0
用户参与
星數0.9k
關注者數34
派生數250
提交數429
已啟用問題?
問題數15
打開的問題數5
拉請求數47
打開的拉請求數9
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?