Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
/ simple-chat Public archive

A simple React & Redux chat client with a WebSocket server for local chatting

Notifications You must be signed in to change notification settings

ludwigbacklund/simple-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple chat

A simple chat client & WebSocket server for local chatting. Open up the client in different browser windows to chat between multiple participants.

Requirements

yarn or npm (tested with yarn v.1.9.4)

Node (tested with v.10.8.0)

A browser (tested with Google Chrome v.67.0.3396.87)

Quick start

Run yarn or npm install to install all project dependencies

Run yarn client or npm client to start the development server for the chat client at localhost:3000

Run yarn server or npm server to start the WebSocket server at localhost:3001

You can also run yarn build to build the app for production in ./build and then host it locally with something like serve

Configuration

To make the application work across all devices on your local network and not just one, change the IP variable in ./src/utils/initSocket.js to the local IP address of whatever device is running the WebSocket server, e.g 192.168.1.48.

About

A simple React & Redux chat client with a WebSocket server for local chatting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published