Kumpel Chat App for the main page.
Kumpel Chat is a real-time chat room application built with Next.js, utilizing Phoenix WebSocket for live communication. The app allows users to join chat rooms with a username, chat ID, and access code.
- Real-time messaging
- Unique user colors
- WebSocket-based communication
- Simple, intuitive UI
- Secure room access with chat ID and code
- Node.js
- npm or yarn
- Phoenix WebSocket backend (not included in this repo)
-
Clone the repository
-
Install dependencies:
npm install # or yarn install
-
Set up your WebSocket backend (default is
ws://localhost:4000/socket
)
Modify connection settings in chatRoom.tsx
:
- WebSocket URL
- Channel configuration
npm run dev
# or
yarn dev
- Next.js
- React
- Phoenix WebSocket
- Zustand (state management)
components/chatRoom.tsx
: Main chat interfacecomponents/landingPage.tsx
: User login/room entrystyles/chatRoom.ts
: Styling definitions
[Your License Here]