- Overview
- Features
- Technologies Used
- Installation
- Usage
- Directory Structure
- Contributing
- License
- Links
The WebSocket Chat App is a lightweight browser-based chat application that allows users to communicate in real-time. This app uses WebSocket technology to create a seamless chat experience. The server and client components are designed to work together effortlessly, making it easy for developers to extend and customize the application.
You can download the latest version from the Releases section.
- Real-time messaging using WebSocket
- Simple and clean user interface
- Lightweight and fast performance
- Built with modern web technologies
- Easy to set up and run locally
- Supports multiple users
- Responsive design for various devices
This project leverages several technologies to provide a robust chat experience:
- HTML: For the structure of the web pages.
- CSS: For styling and layout.
- JavaScript: For client-side functionality.
- TypeScript: For type safety and better code management.
- Node.js: For server-side logic.
- Express: To handle server requests.
- WebSocket: For real-time communication.
- React: For building user interfaces.
- Vite: For fast development and build processes.
- Nodemon: For automatically restarting the server during development.
- npm: For managing dependencies.
- Monorepo: To manage multiple packages in a single repository.
To get started with the WebSocket Chat App, follow these steps:
-
Clone the repository:
git clone https://github.com/Isco81/websocket-chat-app.git
-
Navigate to the project directory:
cd websocket-chat-app
-
Install dependencies using npm:
npm install
-
Start the server:
npm run start
-
Open your browser and navigate to
http://localhost:3000
to start chatting.
For the latest releases, check the Releases section.
Once the application is running, you can start chatting immediately. The interface is straightforward:
- Enter your username in the input field.
- Type your message in the chat box.
- Press "Enter" to send your message.
Messages will appear in the chat window in real-time. You can open multiple browser tabs to simulate different users.
The project follows a clear directory structure to help you navigate easily:
websocket-chat-app/
βββ client/ # Contains client-side code
β βββ src/ # Source files for React app
β βββ public/ # Static files
β βββ package.json # Client dependencies
βββ server/ # Contains server-side code
β βββ src/ # Source files for Node.js server
β βββ package.json # Server dependencies
βββ package.json # Root dependencies and scripts
βββ README.md # This file
We welcome contributions to improve the WebSocket Chat App. If you want to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your forked repository.
- Create a pull request to the main repository.
Please ensure that your code follows the existing style and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For more information and updates, visit the Releases section.