This project is just me messing around. I created a chat app using:
Client:
- React
- Webpack
- Material Ui
- Websocket.io client
Server:
- Node
- Express
- Websocket.io
# To install all the app dependencies
npm i
# to start the server
npm run start:server
# to start the client
npm run start:client
Install Docker https://docs.docker.com/engine/install/
npm run start:app
Q: How secure is this app?
A: Not at all, When a user registers, the app writes a cookie with the username and a cookie with a userID guid which is being used as the users "credentials". If is lost, the userId is lost, the account will become orphaned. If another actor gets ahold of someone's userID and userName, they can easily get logged in as that user.
Q: Why use material ui?
A: It made building this app very quickly, and didn't want to get hung up on styling
Q: How is data saved?
A: Just in memory. When the app goes down, all messages and users are lost. in the future I may change this