A chat app built with react and socket.io
This is a chat app with client and server apps. Both apps are included in this repo and can be run together or separately.
npm install
npm run dev
This will run both client and server app with hot reload.
In order to login you need a username and password.
User info is stored on a json file: /server/models/users.json
You can use one of the existent users or create newones by editing this file.
This app is built using Create React App.
Run client separately
npm run client
This app is build using vainilla nodejs with no boilerplate.
Run server separately
npm run server
The app is deployed on heroku: https://react-chat-dminones.herokuapp.com/
Scripts being used to run on heroku from package json:
"heroku-postbuild": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build",
"start": "node server/"