Skip to content

Example of a real time chat application with React, Express, Postgres, and Docker.

Notifications You must be signed in to change notification settings

Chrischuck/websocket-docker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Time Chat 🍪

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.

UI

Goals of this repo

  • Learn Docker
  • Practice using websockets with a real time chat
  • Implement postgresql

Installation/Running

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.

About

Example of a real time chat application with React, Express, Postgres, and Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published