Connect instantly. Chat without limits!
Secure, Fast, Seamless.
Stay connected with friends, teams, or communities through our powerful chat — featuring real-time communication, modern UI, and scalable backend.
- Next.js 15
- Tailwind CSS
- TypeScript
- Go (Golang)
- Fiber v2
- GORM
- Clean Architecture
- PostgreSQL
- WebSocket (Real-time chat message delivery)
- Located in the
frontend/folder - Handles user interface, routing, and communicates with backend via REST and WebSocket
- Located in the
backend/folder - Clean architecture layers:
controller,usecase,repository - RESTful API and WebSocket endpoint
- PostgreSQL with GORM for ORM
- ✅ Real-time messaging with WebSocket
- ✅ Secure user authentication
- ✅ Clean and scalable architecture
- ✅ Responsive UI
- ✅ Easy deployment setup
- ✅ PostgreSQL integration
- ✅ Production-ready structure
- Go 1.20+
- Node.js 20+ or Bun
- PostgreSQL
- Docker (optional for local development)
cd backend
go run main.gocd frontend
npm install # or bun install
npm run dev # or bun dev- WebSocket endpoint:
ws://localhost:PORT/api/v1/rooms/:room_code/ws - Events supported:
new_message: receive and broadcast messages in real timemember_online: notify when a member joins the roommember_offline: notify when a member leaves the room
FIBER_HOST=0.0.0.0
FIBER_PORT=8000
DB_HOST=0.0.0.0
DB_PORT=5432
DB_DATABASE=test
DB_USERNAME=test
DB_PASSWORD=123456789
DB_SSL_MODE=disable
JWT_SECRET=secret
JWT_EXPIRE=1 # hours
JWT_REFRESH_SECRET=refresh_secret
JWT_REFRESH_EXPIRE=24 # hours2025-05-10.16-15-55.mp4
We welcome contributions! Please fork the repo, create a feature branch, and open a pull request.
