CHATU is a real-time chat application built using Go, Gorilla WebSockets, MongoDB, Docker, Kubernetes, and JWT tokens for authentication.
- Real-time messaging using WebSockets
- User authentication with JWT tokens
- Secure communication with self-signed certificates
- Multi-room chat functionality
- Dockerized setup for easy deployment
- Kubernetes configurations for scalable management
- Clone the repository:
git clone https://github.com/Arpit529Srivastava/CHATU.git cd CHATU
bash certgen.bash
go run *.go
https://localhost:8080.
Username: percy
Password: 123
Send a message: Type your message in the input field and click send.
- main.go: Entry point of the application.
- manager.go: Manages WebSocket connections and routes events.
- client.go: Handles client connections and message transmission.
- frontend/: Contains the frontend code for the chat application.
- otp.go: Manages OTP generation and verification.
- Go
- Gorilla WebSocket
- MongoDB
- Docker
- Kubernetes
- License