This is a backend server for a chat application implemented in Golang. It utilizes WebSockets for real-time communication and MongoDB for storing chat data and will integrate with frontend.
- Real-time chat functionality using WebSockets
- Persistent storage of chat messages in MongoDB
- Room-based chat system
- Join and leave room functionalities
- User authentication (JWT)
Before running the server, make sure you have the following installed:
- Golang
- MongoDB
- Clone the repository:
git clone https://github.com/Sahil-4555/CHAT_DEMO_GOLANG.git
- Install Dependencies
go mod tidy