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: