Real-time web chat app. The client app server for Chatty App Server.
Allows users to send and receive text messages, images, and Youtube videos in real-time using any web browser.
- Follow the instructions to setup and run the Chatty App Server.
- Fork this repo to your local machine.
- Run
npm install
to install dependencies. - Make a copy of
.env.example
to.env
and change theCLIENT_HOST
address orCLIENT_PORT
number as you see fit. Change theSERVER_HOST
andSERVER_PORT
so that it matches the corresponding settings in the Server's.env
file. - Run
npm start
to start the app server. - Get yourself and your friends to go to the
CLIENT
host address and port specified above in your browsers and start chatting.
- /youtube [video-id] - Embed a Youtube video
- [any URL that ends with .jpg/.jpeg/.gif/.png/.bmp] - Embed an image
- Node.js 6.0.0 or higher
- React
- ReactDOM
- ws
- webpack-dotenv-plugin
- Babel
- babel-core
- babel-loader
- babel-preset-es2015
- babel-preset-react
- babel-preset-stage-0
- Webpack
- webpack-dev-server
- css-loader
- eslint
- eslint-plugin-react
- node-sass
- sass-loader
- sockjs-client
- style-loader