Skip to content

opazupa/node-react-chat-app

Repository files navigation

node-react-chat-app

Node + React websocket based live chat app

Includes

  • React frontend with Material UI design ✔️
  • MobX for state management ✔️
  • Websockets for livechat ✔️
  • Node backend server ✔️
  • Mongo DB for chat history ✔️
  • Docker support ✔️

Code Structure

  • Server in server folder
  • Client in chat-client folder

Run with docker 🍰

Run locally with hot reloading

docker-compose up/down

Run nginx-served

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up/down

Or as a stack :)

docker stack deploy -c docker-compose.yml -c docker-compose.prod.yml chat-app