Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 1 addition & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1 @@
## 01. ํ”„๋กœ์ ํŠธ ์„ค๋ช…
- Spring + RabbitMQ + STOMP๋ฅผ ํ†ตํ•œ ์‹ค์‹œ๊ฐ„ ์ฑ„ํŒ… ์„œ๋น„์Šค
- JWT๋ฅผ ํ†ตํ•œ ์„ธ์…˜ ๊ด€๋ฆฌ
- DB ํ™œ์šฉ
- | DB | ์‚ฌ์šฉ ์ด์œ  |
|---------|----------------|
| MySQL | ๋ฉ”์ธ DB |
| MongoDB | ์ฑ„ํŒ… ๋ฉ”์‹œ์ง€ ์ €์žฅ |
| Redis | ์‹ค์‹œ๊ฐ„ ์ฑ„ํŒ…๋ฐฉ ์ฐธ๊ฐ€์ž ๊ด€๋ฆฌ |

## 02. ํ•ต์‹ฌ ๊ธฐ๋Šฅ
- ์‹ค์‹œ๊ฐ„ ์ฑ„ํŒ…
- UI๋ฅผ ํ†ตํ•œ ๋ฐ์ดํ„ฐ ์‹œ๊ฐํ™” ๋ฐ ํŽธ์˜์„ฑ ์ œ๊ณต
- ์ฑ„ํŒ…๋ฐฉ ๋ฉ”์‹œ์ง€์˜ ์ฝ์ง€ ์•Š์€ ์‚ฌ์šฉ์ž์˜ ์ˆ˜๋ฅผ ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ฐ˜์˜
![rabbitmq](https://github.com/user-attachments/assets/4dbc6156-3408-49ad-8575-4bc168052aa9)
> 1. ๋ฉ”์‹œ์ง€ ์ „์†ก ์‹œ ํ˜„์žฌ ์ฑ„ํŒ…๋ฐฉ์— ์ ‘์†๋œ ์œ ์ €๋ฅผ ํ†ตํ•ด '์•ˆ ์ฝ์€ ์ˆ˜'๋ฅผ ๊ณ„์‚ฐํ•˜์—ฌ ๊ฐ™์ด ์ถœ๋ ฅ
> 2. ๋‹ค๋ฅธ ์ฑ„ํŒ…๋ฐฉ ์ฐธ๊ฐ€์ž๊ฐ€ ์ ‘์† ์‹œ ๋ฏธ๋ฆฌ ์ ‘์†ํ•ด์žˆ๋˜ ์œ ์ €๋“ค์ด ๋ณด๊ณ  ์žˆ๋Š” ๋ฉ”์‹œ์ง€์˜ '์•ˆ ์ฝ์€ ์ˆ˜'๋ฅผ ์ตœ์‹ ํ™”ํ•˜์—ฌ ๊ฐฑ์‹ 

## 03. ์‚ฌ์šฉ ๊ธฐ์ˆ 
- `Spring Boot 3.1`, `Spring Data JPA`
- `MySQL`, `MongoDB`, `Redis`
- `RabbitMQ`, `STOMP`
- `JWT`
- `Docker`, `docker-compose`
- `HTML`, `CSS`, `JS`

## 04. ๊ด€๋ จ ํฌ์ŠคํŒ…
- [๊ธฐ์ˆ  ์Šคํƒ ์„ ์ • ์ด์œ ](https://lsh2613.tistory.com/260#1.%20RabbitMQ%20%EC%84%A0%ED%83%9D%20%EC%9D%B4%EC%9C%A0-1)
- [STOMP-ํ…Œ์ŠคํŠธ ์‹คํŒจ](https://lsh2613.tistory.com/260#3.%20%ED%85%8C%EC%8A%A4%ED%8A%B8%20%EC%A4%91%20%EB%B3%80%EC%88%98%20%EB%B0%9C%EC%83%9D-1)
- [์ฑ„ํŒ… ๋‚ด์—ญ์„ MongoDB์— ์ €์žฅํ•˜๋Š” ์ด์œ ](https://lsh2613.tistory.com/261#1.%20%EC%B1%84%ED%8C%85%20%EB%82%B4%EC%97%AD%EC%9D%84%20MongoDB%EC%97%90%20%EC%A0%80%EC%9E%A5%ED%95%98%EB%8A%94%20%EC%9D%B4%EC%9C%A0-1)
- [์ฝ์Œ/์•ˆ ์ฝ์Œ ๊ธฐ๋Šฅ ์ ์šฉ](https://lsh2613.tistory.com/262#1.%20%EC%9D%BD%EC%9D%8C%2F%EC%95%88%20%EC%9D%BD%EC%9D%8C-1)
- [JWT + Session ์ ์šฉ ์ด์œ ](https://lsh2613.tistory.com/263#2.%20JWT%2C%20Session%20%EB%8C%80%EC%8B%A0%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EA%B1%B4%EB%8D%B0%20%EC%99%9C%20%EA%B5%B3%EC%9D%B4%20%EB%91%98%20%EB%8B%A4%20%EC%82%AC%EC%9A%A9%ED%95%A0%EA%B9%8C%3F-1)

## 05. ์‹œ์ž‘ํ•˜๊ธฐ
**1. ํ”„๋กœ์ ํŠธ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ**
``` bash
git clone https://github.com/lsh2613/RabbitMQ.git <์›ํ•˜๋Š” ๊ฒฝ๋กœ>
cd <์›ํ•˜๋Š” ๊ฒฝ๋กœ>
```

**2. docker-compose ์‹คํ–‰**

``` bash
docker-compose up -d
```

**3. ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰**
``` bash
./gradlew bootRun
```

**4. ์ฑ„ํŒ… ํ…Œ์ŠคํŠธ**
1. `localhost:8080`๋ฅผ ํ†ตํ•ด API UI์— ์ ‘์†
2. ํšŒ์› ๊ฐ€์ž…, ์ฑ„ํŒ…๋ฐฉ ์ƒ์„ฑ, ์ฑ„ํŒ…๋ฐฉ ์ฐธ๊ฐ€ ๋“ฑ ํ•„์š”ํ•œ api ํ˜ธ์ถœ
3. ๋‘ ๊ฐœ ์ด์ƒ์˜ ๋ธŒ๋ผ์šฐ์ €๋ฅผ ์—ด๊ณ , ๊ฐ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์ฑ„ํŒ…๋ฐฉ์— ์ฐธ๊ฐ€
4. ๊ฐ ๋ธŒ๋ผ์šฐ์ €์—์„œ ์ฑ„ํŒ… ๋ฉ”์‹œ์ง€๋ฅผ ์ „์†กํ•˜๊ณ , ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ฉ”์‹œ์ง€๊ฐ€ ์ „๋‹ฌ๋˜๋Š”์ง€ ํ™•์ธ
์—…๋ฐ์ดํŠธ ์˜ˆ์ •
68 changes: 0 additions & 68 deletions src/main/resources/static/chatroom/chat-room-create.html

This file was deleted.

173 changes: 0 additions & 173 deletions src/main/resources/static/chatroom/chat-room-join.html

This file was deleted.

Loading
Loading