이 프로젝트는 Spring Boot, Thymeleaf, WebSocket을 사용하여 구축된 간단한 채팅 애플리케이션입니다. 사용자들은 실시간으로 메시지를 주고받을 수 있습니다.
- 실시간 메시지 전송
- 사용자별 메시지 구분
- 메시지 전송 시간 표시
- 사용자 이름 및 메시지 내용 관련 예외 처리
- Spring Boot
- Spring Data JPA
- WebSocket
- Thymeleaf
- JavaScript
- HTML/CSS
- JDK 11
- Gradle
- MySQL
-
GitHub에서 프로젝트를 복제합니다.
git clone https://github.com/yourusername/simplechat.git
-
MySQL 데이터베이스를 생성합니다.
-
해당 스프링부트 프로젝트를 실행합니다.
-
application.properties에 사용할 데이터베이스 주소 및 이름, 패스워드를 입력하세요.
-
웹 브라우저에서
http://localhost:8080
로 이동하여 애플리케이션에 접속합니다.