Welcome to the Go WebSocket Chatroom! This is a simple chatroom application implemented using WebSockets in the Go language. The application allows multiple users to join a chatroom and exchange messages in real-time. 💬
- Real-time messaging: Users can send and receive messages instantly in the chatroom. 📩📨
- User authentication: Users can log in with their preferred username before joining the chatroom. 🔐
- Join/Leave notifications: The chatroom notifies other users when someone joins or leaves. 📢
- User-friendly interface: The frontend provides an intuitive and responsive design for a seamless user experience. 🌟
Before running this application, make sure you have the following installed:
- Go (1.16 or higher) 🐹
- JavaScript-enabled web browser 🌐
-
Clone this repository to your local machine:
git clone https://github.com/vacaramin/go-websocket-chatroom.git
-
Change to the project directory:
cd go-websocket-chatroom
-
Build the Go application:
go build
-
Start the server:
./go-websocket-chatroom
- Open your preferred web browser and visit http://localhost:8080.
- Enter a username in the provided input field and click "Join Chat" to join the chatroom.
- Start sending and receiving messages in real-time! ✉️💬
Contributions are welcome! If you find any issues or want to enhance the functionality of this application, feel free to open an issue or submit a pull request. Please make sure to follow the Contributing Guidelines when contributing.
This project is licensed under the MIT License.
If you have any questions or need any assistance, feel free to reach out:
- Email: vacaramin86@gmail.com