A high-performance, real-time ephemeral chat application built with the PERN stack and WebSockets. ChatX allows users to create instant rooms, share codes, and communicate with zero footprints.
- Real-Time Messaging: Powered by the standard
wslibrary for low-latency communication. - Ephemeral Rooms: Messaging rooms that exist only as long as you need them.
- Auto-Cleanup: Database optimization that strictly maintains only the last 15 messages per room.
- Modern UI: Sleek, dark-themed interface built with Tailwind CSS and Lucide icons.
- Secure Auth: JWT-based authentication for private room access.
- Responsive Design: Fully optimized for Desktop and Mobile experiences.
Frontend:
- React (Vite)
- TypeScript
- Tailwind CSS
- Lucide React (Icons)
- Axios
Backend:
- Node.js & Express
- TypeScript
- WebSockets (
ws) - Prisma ORM
- PostgreSQL (Hosted on Neon)
- Node.js (v18+)
- PostgreSQL database (Neon recommended)
- Multi Line chat with saved formatting
