How jayaramachandranaugustin/chatapplication works
Project type and purpose
• This is a full-stack chat application. The frontend is a ReactJS single-page app under react-client, and the backend is a Spring Boot WebSocket server under spring-ws-server.
• Its purpose is to allow multiple clients to connect over WebSocket, send chat messages, and have the server broadcast them to all subscribers.
File structure
• Top-level directories:
• react-client/ – contains a standard React project (public/, src/, package.json).
• spring-ws-server/ – contains a Maven-based Spring Boot project (src/main/java, src/main/resources, pom.xml).
• Key backend packages:
• config/ – WebSocketConfig for STOMP endpoints and message broker setup.
• controller/ – ChatController handling inbound messages and broadcasting.
• model/ – POJOs (Message, Status).
• No external database or persistence – it uses the in-memory message broker provided by Spring’s enableSimpleBroker.
README for additional insights
• Confirms the stack: Spring Boot WebSocket backend, ReactJS client.
• Provides start‐up instructions (npm install && npm start for client, mvn spring-boot:run for server).
• Shows a screenshot of the chat screen.