The WebSocket Chat App is a lightweight browser-based chat application. It uses WebSocket technology to enable real-time communication between users. This project includes both a client and server, making it easy to set up and run on your local machine. You can download the latest release here.
This project utilizes a variety of technologies to deliver a smooth experience:
To get started with the WebSocket Chat App, follow these steps:
git clone https://github.com/Isco81/websocket-chat-app.git
cd websocket-chat-app
npm install
npm run dev
http://localhost:3000
to use the chat application.You can download the latest release here if you prefer a pre-built version.
Once the application is running, you can:
Messages will appear in real-time as they are sent. You can open multiple tabs or browsers to simulate different users.
The project is organized in a monorepo format. Hereβs a breakdown of the main directories:
websocket-chat-app/
βββ client/ # Contains the React frontend
β βββ src/
β βββ public/
β βββ package.json
βββ server/ # Contains the Node.js backend
β βββ src/
β βββ package.json
βββ package.json # Root package.json for npm workspaces
The client folder contains all the React components, styles, and assets. The main entry point is src/index.js
.
The server folder contains the WebSocket server code. The main file is src/server.js
, which handles incoming connections and message broadcasting.
Contributions are welcome! If you want to contribute to this project, please follow these steps:
git checkout -b feature/YourFeature
).git commit -m 'Add some feature'
).git push origin feature/YourFeature
).Please ensure your code adheres to the projectβs coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, feel free to reach out:
For updates and new releases, check the Releases section.