A real time chat built with React, Express, Docker/Docker Compose, and love.
This uses Docker to build/run the client and api on two seperate images. Clients are paired in chat together sequentially; i.e. client 0 and client 1, client 2 and client 3, and so forth.
- Learn Docker
- Practice using websockets with a real time chat
- Implement postgresql
Clone the repo:
git clone https://github.com/Chrischuck/websocket-docker-example.git
Enter the directory:
cd websocket-docker-example
Build Docker images:
docker-compose build
Run Docker images:
docker-compose up
Now open up your favorite web browser and navigate to `localhost:5008'. Each new window will be a new client.