A real-time chat application with a Go backend and a JavaScript frontend.
- 🔑 User authentication (register, login, logout, current user session)
- 💬 Public and private chat rooms
- ⚡ Real-time messaging with WebSockets
- 📂 File upload support
- 📱 Simple and responsive frontend using HTML, CSS, and JavaScript
- Backend: Go, Gorilla WebSocket, Gorilla Sessions, SQLite
- Frontend: HTML, TailwindCSS, JavaScript
- Database: SQLite
- Go 1.20+
- SQLite
-
Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name Install Go dependencies: go mod tidy -
Run the Go server:
go run main.go -
Open the frontend in your browser: