Chatta is a real time chat web application using React, Websocket, Babel, and Webpack.
Chatta allows clients to communicate with each other without ever reloading the page. Chatta allows clients to choose and update an username. Each client is given a random colour that persists even if they change usernames. Users can post text messages as well as jpg, png and gif urls. The number of clients connected is displayed at the top of the page.
Clone the Chatty-App and create your own git repo.
git clone git@github.-com:Elyott/Chatty-App.git
cd Chatty-App
git remote rm origin
git remote add origin [YOUR NEW REPOSITORY]
# Manually update your package.json file
Install the dependencies and start the server.
npm install
npm start
open http://localhost:3000
Clone the Chatty-App-Server and create your own git repo.
git clone git@github.-com:Elyott/Chatty-App-Server.git
cd Chatty-App-Server
git remote rm origin
git remote add origin [YOUR NEW REPOSITORY]
# Manually update your package.json file
Install the dependencies and start the server.
npm install
npm start
open http://localhost:3001
You can store static files like images, fonts, etc in the build
folder.
For example, if you copy a file called my_image.png into the build folder you can access it using http://localhost:3000/build/my_image.png
.
This boilerplate project includes React ESLint configuration.
npm run lint
- React
- Webpack
- babel-loader
- webpack-dev-server