https://github.com/big-silver/react-redux-socketio-chat
Chatting App using React/Redux and Socket.io
https://github.com/big-silver/react-redux-socketio-chat
react-chatting react-redux socket-io
Last synced: 11 months ago
JSON representation
Chatting App using React/Redux and Socket.io
- Host: GitHub
- URL: https://github.com/big-silver/react-redux-socketio-chat
- Owner: Big-Silver
- Created: 2017-04-10T15:06:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-10T19:57:26.000Z (about 9 years ago)
- Last Synced: 2025-04-10T03:32:33.443Z (about 1 year ago)
- Topics: react-chatting, react-redux, socket-io
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-redux-socketio-chat

## About
Using React.js and Socket.io, I built the React-chatting-App.
This project is written by [Big Silver].
## Prepare
Note: You need MongoDB set up and running to run the code locally. [Installation instructions](https://docs.mongodb.org/manual/installation/)
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()`.
Now that you've done all that, you can go go ahead and code away!
## Install
```
git clone https://github.com/Big-Silver/React-Redux-Socketio-Chat.git react@redux-chat
cd react@redux-chat
npm install
```
## Development
```
npm run dev
```
And then point your browser to `localhost:3000`
Note:
This program comes with [redux-dev tools](https://github.com/gaearon/redux-devtools)
* To 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`