Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/be/#230 Global Logging 추가 + Backend README 일부 작성 #231

Merged
merged 222 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
0c57897
feat: #109-채팅방 스크린 연동
ji-hunc Apr 29, 2024
1b1265b
feat: #109-채팅을 위한 모델들 생성 및 service 작성
ji-hunc Apr 29, 2024
bd778d2
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc Apr 29, 2024
08758af
feat: #109-채팅 기반 함수 및 최소 테스트 성공
ji-hunc May 2, 2024
b06c583
fix: #123-헬퍼 스크린 및 디테일 화면, 헬퍼 모델, 채팅 초기 모델 생성
ji-hunc May 2, 2024
99f7a5f
solve conflict
ji-hunc May 2, 2024
466c7f7
feat: #109-개인 채팅 기능 완성
ji-hunc May 2, 2024
8b6fcec
refactor: #109-필요없는 코드 삭제
ji-hunc May 2, 2024
ccfb54e
feat: #109-상대방 말풍선 디자인 변경
ji-hunc May 2, 2024
0dc5006
feat: #109-채팅리스트 화면 폴링
ji-hunc May 2, 2024
672f7c6
feat: #135-헬퍼 게시글 모델 생성 및 글 작성 구현
ji-hunc May 4, 2024
bec2783
feat: #135-helper 게시글 조회 기능 구현
ji-hunc May 4, 2024
4ecfdec
feat: #137-글 쓰기 테스트 중간 저장
ji-hunc May 4, 2024
4a734f9
feat: detail 모델 추가
ji-hunc May 4, 2024
62afa15
Update requirements.txt
Borikhs May 4, 2024
7adea4a
llm_rag.py에 deepl 추가
Borikhs May 4, 2024
3b47a31
run_chatbot 및 server 수정
Borikhs May 4, 2024
6f29c93
오류 수정 및 main 파일 수정
Borikhs May 4, 2024
4c118ce
구글 검색 프롬프트 번역
Borikhs May 4, 2024
56e21d8
오류 수정
Borikhs May 4, 2024
7d0f0dd
구글 검색 결과를 영어로 번역
Borikhs May 4, 2024
d995b77
feat: #135-api 백 수정 반영
ji-hunc May 4, 2024
9d58fbd
feat: #137-파라미터 업데이트
ji-hunc May 4, 2024
601bb65
feat: #135-헬퍼 글쓰기, 로드, 디테일 확인 구현 완료
ji-hunc May 4, 2024
f021c8b
feat: #135-UI 수정
ji-hunc May 4, 2024
c355b26
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 4, 2024
ac40590
feature:#139/학식 api 연동 및 화면에 띄우기
kevinmj12 May 4, 2024
dc7c874
Merge branch 'feature/fe/#135-helperArticle' of https://github.com/ko…
kevinmj12 May 4, 2024
af2e0b0
design fix
kevinmj12 May 4, 2024
aff21fc
Merge pull request #148 from kookmin-sw/feature/fe/#135-helperArticle
kevinmj12 May 4, 2024
f6bc0fb
feature:#139/메인 화면에 학식정보 추가
kevinmj12 May 4, 2024
bdbe194
hotfix
kevinmj12 May 4, 2024
3de23ae
Merge pull request #150 from kookmin-sw/feature/fe/#139-cafeteria-api
ji-hunc May 4, 2024
20e5015
feature:#139/날짜별로 데이터 받도록 수정
kevinmj12 May 4, 2024
10a4f47
chatbot
kevinmj12 May 4, 2024
3947e07
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 4, 2024
65e5780
Merge branch 'feature/fe/#139-cafeteria-api' of https://github.com/ko…
ji-hunc May 5, 2024
91d7f8d
Update README.md
mclub4 May 5, 2024
5d94736
feat: #137-qnaModel 수정
ji-hunc May 5, 2024
44ee0c0
feat: #137-qnaService 수정
ji-hunc May 5, 2024
c1d413e
feat: #137-질문글 조회, 작성, 디테일 조회 구현
ji-hunc May 5, 2024
1d28cd4
api path change
guahama May 5, 2024
e20065e
Merge branch 'develop-ai' of https://github.com/kookmin-sw/capstone-2…
guahama May 5, 2024
d766613
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 5, 2024
e97cd99
feat: #137-댓글 리스트 조회 구현
ji-hunc May 5, 2024
732a232
fix: #137-댓글 내용이 길 때 줄넘김 처리
ji-hunc May 5, 2024
9268b5a
chore: #137-프린트 제거
ji-hunc May 5, 2024
219bcd7
feature:#138/챗봇 API 연동 및 기능 구현 완료
kevinmj12 May 5, 2024
84b2f73
feat: #137-댓글입력창 항상 바닥에 고정되어 따라오도록 구현
ji-hunc May 5, 2024
c3f9fbb
feature:#138/질문은 보내는 도중 새로운 질문 차단
kevinmj12 May 5, 2024
1e8e287
feat: #137-날짜 포맷 변경 및 거리 조정
ji-hunc May 5, 2024
e74392f
Merge pull request #155 from kookmin-sw/feature/fe/#138-chatbot-api
ji-hunc May 5, 2024
4b2dbeb
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 5, 2024
f3680ec
solve conflict
ji-hunc May 5, 2024
574e4f1
Merge https://github.com/kookmin-sw/capstone-2024-30 into 144
guahama May 5, 2024
5ce1f5a
Merge pull request #145 from kookmin-sw/feature/ai/#144-Chatbot-with-…
guahama May 5, 2024
1fc8889
feat: #137-댓글 작성 후, 인풋박스 초기화 및 최하단 강제 스크롤 적용
ji-hunc May 5, 2024
6904d93
Merge branch 'develop-ai' of https://github.com/kookmin-sw/capstone-2…
guahama May 5, 2024
83f9eab
api 언어 입력받도록 수정
guahama May 5, 2024
32d3af8
Merge pull request #157 from kookmin-sw/feature/ai/#144-Chatbot-with-…
guahama May 5, 2024
6280174
Merge pull request #156 from kookmin-sw/feature/fe/#137-qnaApi
kevinmj12 May 5, 2024
7f55b1a
feat: #137-qna 디테일 위로 끌어당겨 새로고침, 하단 자동 스크롤 문제 해결
ji-hunc May 5, 2024
8ce0dc9
Merge pull request #161 from kookmin-sw/feature/fe/#137-qnaApi
ji-hunc May 5, 2024
209da72
중간 커밋
ji-hunc May 5, 2024
93ca865
solve conflict
ji-hunc May 5, 2024
53e9da7
Update README.md
mclub4 May 6, 2024
21304b8
Merge pull request #168 from kookmin-sw/develop-back
mclub4 May 6, 2024
e13a1ce
Merge remote-tracking branch 'origin/develop-ai'
Borikhs May 6, 2024
140d004
Revert "Merge remote-tracking branch 'origin/develop-ai'"
Borikhs May 6, 2024
cc32f17
Update README.md
BlueBerrySoda May 6, 2024
873c356
refactor:#169/로그인 로직 수정
kevinmj12 May 6, 2024
fa6b239
Merge pull request #170 from kookmin-sw/refactor/fe/#169-modify-login…
ji-hunc May 8, 2024
6c61dec
feat: #108-공지사항 검색기능 구현
ji-hunc May 8, 2024
93a266a
feat: #137-포스트 요청 보낼 때 헤더에 토큰 추가
ji-hunc May 8, 2024
1001464
feat: #137-질문글 검색기능 구현
ji-hunc May 8, 2024
3deb53b
chore: #137-헤더 명시
ji-hunc May 8, 2024
3c8450e
Merge pull request #172 from kookmin-sw/feature/fe/#108-noticeSearch
kevinmj12 May 8, 2024
dd20f06
Merge pull request #173 from kookmin-sw/feature/fe/#137-qnaSearchPost
ji-hunc May 8, 2024
640ea3b
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 8, 2024
ceb4b02
Merge pull request #174 from kookmin-sw/feature/fe/#109-chatting
kevinmj12 May 8, 2024
e9f6b79
feature:#176/홈 화면 유저정보 추가
kevinmj12 May 11, 2024
0442066
Merge pull request #184 from kookmin-sw/feature/fe/#176-home-userinfo
kevinmj12 May 11, 2024
350eb01
feature:#185/학교 기본 정보 추가(시설 이용 시간 등)
kevinmj12 May 11, 2024
1e55d92
refactor:#188/중국어 추가
kevinmj12 May 12, 2024
37dbba8
Merge pull request #187 from kookmin-sw/feature/fe/#185-school-info
ji-hunc May 12, 2024
1aff9a7
hotfix: 회원가입 실패시 받는 응답 디코드 위치 변경
ji-hunc May 12, 2024
1e62299
refactor:#188/일부 언어 localization
kevinmj12 May 12, 2024
38d7270
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 12, 2024
fe375a8
Merge pull request #189 from kookmin-sw/refactor/fe/#188-language-set…
ji-hunc May 12, 2024
01b63f1
feat: #137-게시글 작성 구현 완료 및 댓글 작성 api 헤더 추가
ji-hunc May 12, 2024
888b02c
refactor:#190/회원가입 정보 수정
kevinmj12 May 12, 2024
1596dcc
feat: #137-로그인시 유저 정보 저장
ji-hunc May 12, 2024
f380367
feat: #137-헬퍼 post 데이터 유저 데이터로 변경
ji-hunc May 12, 2024
54d05ff
feat: #137-글쓰기 데이터 유저 데이터로 변경
ji-hunc May 12, 2024
ac151f5
feat: #137-한글 게시 못 하는 오류 수정
ji-hunc May 12, 2024
ef5ca42
Merge pull request #191 from kookmin-sw/feature/fe/#137-qnaApi
ji-hunc May 12, 2024
aa53eb4
feat: #109-채팅 미리보기 버그 수정
ji-hunc May 12, 2024
ba234ee
refactor:#190-회원가입 정보 수정, 디자인 수정
kevinmj12 May 12, 2024
ec51a63
hotfix: conflit resolve
kevinmj12 May 12, 2024
95fafb1
feature:#194/학식 영어로 받아오기 추가
kevinmj12 May 12, 2024
ff9636a
Update deploy.yml
mclub4 May 12, 2024
edeee59
Update README.md
mclub4 May 12, 2024
89fc86c
Update README.md
mclub4 May 12, 2024
288675f
Update README.md
mclub4 May 12, 2024
415c5bf
Update README.md
mclub4 May 12, 2024
57e1f5f
Update README.md
mclub4 May 12, 2024
0947f27
Merge pull request #193 from kookmin-sw/refactor/fe/#190-signup-info-…
ji-hunc May 12, 2024
738dca0
solve conflict
ji-hunc May 12, 2024
4e5c484
Merge pull request #192 from kookmin-sw/feature/fe/#109-chatListPreview
kevinmj12 May 12, 2024
db8992b
feat: #195-홈화면에서 공지사항 미리보기 띄우기 구현
ji-hunc May 12, 2024
74d6328
feat: #195-설정 언어로 공지사항 불러오도록 구현
ji-hunc May 12, 2024
759e5cd
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 12, 2024
20a9219
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 13, 2024
717b058
Merge branch 'feature/fe/#195-noticePreview' of https://github.com/ko…
kevinmj12 May 13, 2024
0d9f6c2
language hotfix
kevinmj12 May 13, 2024
8c73b06
Merge pull request #196 from kookmin-sw/feature/fe/#195-noticePreview
kevinmj12 May 13, 2024
c089fe4
hotfix: 챗봇 언어 설정
kevinmj12 May 13, 2024
4719429
fix: #197-처음으로 채팅방 들어갈 때 생기는 state 문제 해결
ji-hunc May 13, 2024
4587a69
chore: #197-???플러터가 수정해준거같음..
ji-hunc May 13, 2024
db24dc3
refactor:#198/FAQ 그림자 수정, 검색창 수정
kevinmj12 May 14, 2024
95a9421
refactor:#198/공지사항 검색 디자인 수정, 언어 버그 수정
kevinmj12 May 14, 2024
9a39eb3
refactor:#198/로그인 화면에서 언어 변경 버튼 추가
kevinmj12 May 14, 2024
e7fb5cc
Merge pull request #200 from kookmin-sw/refactor/fe/#198-design-refactor
ji-hunc May 14, 2024
f28aa1e
hotfix-학식 언어 수정
kevinmj12 May 15, 2024
29fc021
feature:#194/영어 학식 추가
kevinmj12 May 15, 2024
d5ce936
Merge pull request #201 from kookmin-sw/feature/fe/#194-cafeteria-en-zh
ji-hunc May 15, 2024
7aa5883
hotfix:conflict resolve
kevinmj12 May 15, 2024
9599764
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 15, 2024
7e8fda0
hotfix: resolve conflict
kevinmj12 May 15, 2024
91b3012
Update README.md
mclub4 May 15, 2024
db64762
bug: #204-헬퍼화면에서 헬피글쓰면 헬퍼화면에서 보이는 버그 수정
ji-hunc May 15, 2024
c95ada1
Merge pull request #205 from kookmin-sw/bug/fe/#204-helperArticleBug
kevinmj12 May 15, 2024
7c6781f
feature:#194-중국어 학식 추가, 발음 평가 버그 수정
kevinmj12 May 15, 2024
ae3d097
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 15, 2024
36e42ad
Merge pull request #206 from kookmin-sw/feature/fe/#194-cafeteria-en-zh
ji-hunc May 15, 2024
49bb7d5
solve conflict
ji-hunc May 15, 2024
cb8d767
fix: #197-내가 쓴 게시글에서는 채팅 못하도록 막음
ji-hunc May 15, 2024
9722183
add translated pictures
kevinmj12 May 15, 2024
defa0b3
feature:#194/언어에 맞는 시설정보 이미지 보여주기, 홈 화면 언어 설정 변경
kevinmj12 May 15, 2024
af31f9f
fix: #197-아무 대화가 시작되지 않은 채팅방은 표시 하지 않도록 수정
ji-hunc May 15, 2024
feb8cbc
Merge pull request #207 from kookmin-sw/feature/fe/#185-school-info
ji-hunc May 15, 2024
084312e
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 15, 2024
d6f0922
Merge pull request #208 from kookmin-sw/bug/fe/#197-fixBug
kevinmj12 May 15, 2024
4891a6f
feature:#194-index error hotfix
kevinmj12 May 15, 2024
9f518cb
fix: #197-채팅상대방 이름 채팅창에서 띄우기
ji-hunc May 15, 2024
e89ac88
fix: #197-완전 새로운 채팅방이 생성되었을 때 채팅방 리스트에 새로 띄우기
ji-hunc May 15, 2024
2d84563
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 16, 2024
9fbfd25
feat: #210-QnA 태그 기능 구현
ji-hunc May 16, 2024
ddd3ec9
Merge branch 'feature/fe/#210-QnATag' of https://github.com/kookmin-s…
ji-hunc May 16, 2024
ef19a89
feature:#209/헬퍼 모집 완료 기능
kevinmj12 May 16, 2024
f49328a
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 16, 2024
dc3dbac
챗봇 안내문구 추가
kevinmj12 May 16, 2024
1d99acc
Merge pull request #211 from kookmin-sw/feature/fe/#209-helper-my-art…
kevinmj12 May 16, 2024
63a98c7
appbar 색상, tr 추가
kevinmj12 May 16, 2024
813cf9d
speech ment tr 추가
kevinmj12 May 16, 2024
6bb307b
feat: #faq-faq등록
ji-hunc May 16, 2024
41dca52
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
ji-hunc May 16, 2024
8c1ce58
bug hotfix
kevinmj12 May 16, 2024
681f381
feat: 공지사항 필터 내용 추가
ji-hunc May 16, 2024
73a9015
feat: #212-FAQ 한글자 칠 때마다 검색 기능 구현
ji-hunc May 16, 2024
8c79dc3
feat: #212-QnA검색 키워드 검색창 옆에 띄워 직관적으로 반영
ji-hunc May 16, 2024
1432617
feat: #212-FaQ 실시간으로 제목 및 내용 검색 구현
ji-hunc May 16, 2024
0e8fd6a
fix: #212-QnA글 쓸 때 카테고리 선택된 상태에서 다른 카테고리의 글을 썼을 떼 보이는 문제 수정
ji-hunc May 17, 2024
e52a520
style: #212-카테고리 색깔 연하게 바꿈
ji-hunc May 17, 2024
c9eb81b
style: #212-카테고리 색깔 연하게 바꿈2
ji-hunc May 17, 2024
8af62d4
Merge pull request #214 from kookmin-sw/feature/fe/#212-faqSearch
kevinmj12 May 17, 2024
455c14f
helper hotfix
kevinmj12 May 17, 2024
634be6e
logout 구현 완료
kevinmj12 May 17, 2024
509a8e1
학과 번역
kevinmj12 May 17, 2024
aa1723f
tmp
kevinmj12 May 17, 2024
9191910
Merge branch 'develop-front' of https://github.com/kookmin-sw/capston…
kevinmj12 May 17, 2024
a7e657a
feat: #221-앱 내에 상수로 사용되는 한국어 번역
ji-hunc May 17, 2024
9a70739
feature:#221/회원가입 시 학과 번역
kevinmj12 May 17, 2024
1fd11ac
feature:#221/홈 화면 학과 번역
kevinmj12 May 17, 2024
f86180a
feat: #221-QnA 태그 번역:
ji-hunc May 17, 2024
62fce6d
feat: #221-QnA태그 동적 번역
ji-hunc May 17, 2024
04781b4
feat: #221-FAQ 필터 동적 번역
ji-hunc May 17, 2024
e74a0ff
feat: #221-faqkind 선언위치 변경:
ji-hunc May 17, 2024
b725c74
feat: #221-중국어 적용
ji-hunc May 17, 2024
cd5618e
feat: #221-외국어 적용시 faq 태그 안 눌리는 문제 해결
ji-hunc May 17, 2024
84b73c9
fix: #221-faq 선택한 카테고리 한국어 문제 해결:
ji-hunc May 17, 2024
a50a523
feat: #221-공지사항 중국어 필터 동적 번역 적용
ji-hunc May 17, 2024
d37beaf
feat: #221-QNA 버그 수정
ji-hunc May 17, 2024
f62efee
feat: #221-공지사항 카드 태그도 동적 번역 완료
ji-hunc May 17, 2024
4a8b9f7
feat: #221-공지사항 전체 파라미터 all -> 전체 변경
ji-hunc May 18, 2024
906766a
feat: #221-영어 공지 필터 카멜케이스 문제 해결
ji-hunc May 18, 2024
0607d56
feat: #221-영어공지사항 카테고리 짧게 수정 및 디테일 페이지에서도 영어로 표시
ji-hunc May 18, 2024
899985b
feat: #221-QnA 디테일 페이지에서 카테고리도 번역
ji-hunc May 18, 2024
f503a7e
feat: #221-공지 영어 필터 카멜케이스로 똑바로 변경
ji-hunc May 18, 2024
5d79813
feat: #221-faq 기본 태그 한국어로 뜨는 것 수정
ji-hunc May 18, 2024
75178e7
feat: 챗봇 서버 리퀘스트 보내는 언어 포맷 변경
ji-hunc May 18, 2024
e6e37f9
feat: #221-faq 어색한 표현 수정
ji-hunc May 18, 2024
c067f2b
feat: #221-faq 카멜케이스 전부 변경
ji-hunc May 18, 2024
594dbb3
Merge pull request #224 from kookmin-sw/feature/fe/#221-translateStat…
kevinmj12 May 18, 2024
19752c6
style: #226-발음 카드 패딩 추가
ji-hunc May 18, 2024
abf1004
Merge pull request #227 from kookmin-sw/develop-back
mclub4 May 18, 2024
94432d4
style: #226-발음평가 내부 문장 카드 패딩 수정
ji-hunc May 18, 2024
b52de9a
solve conflict
ji-hunc May 18, 2024
15253ea
feat: #221-학과 선택 중국어 수정
ji-hunc May 18, 2024
4081f94
feat: #221-공지사항 all -> All 변경
ji-hunc May 18, 2024
2dfefbd
:feat:
ji-hunc May 18, 2024
92b6bd7
Merge pull request #222 from kookmin-sw/feature/fe/#221-translate
ji-hunc May 18, 2024
fff2efc
Merge branch 'style/fe/#226-style' of https://github.com/kookmin-sw/c…
ji-hunc May 18, 2024
f121afd
fix: 안드로이드에서 language null 일 때 접근한 에러 수정
ji-hunc May 18, 2024
2c51a85
feat: faq 영어 번역
ji-hunc May 18, 2024
bf12ed1
Update README.md
mclub4 May 18, 2024
e485eb5
Update README.md
mclub4 May 18, 2024
2850fd6
chore: gitignore 수정 및 android build 버전 수정
ji-hunc May 18, 2024
a6b06ae
Merge branch 'main' of https://github.com/kookmin-sw/capstone-2024-30…
ji-hunc May 18, 2024
1726993
Merge pull request #228 from kookmin-sw/develop-front
ji-hunc May 18, 2024
0ef977e
Update README.md
ji-hunc May 20, 2024
0242db8
Update README.md
ji-hunc May 20, 2024
81da58d
Update README.md
ji-hunc May 20, 2024
4d60b1b
Update README.md
BlueBerrySoda May 20, 2024
55ff7c3
feature: #230 - 로깅 강화
mclub4 May 21, 2024
48b7152
chore : encrypt tool 추가
mclub4 May 21, 2024
e229a2c
chore : README 추가
mclub4 May 21, 2024
4c36eae
chore : env example 작성
mclub4 May 21, 2024
bc2a90e
chore : 공지사항 크롤링 시간 변경
mclub4 May 21, 2024
f62eadf
chore : README 일부 작성
mclub4 May 21, 2024
4f27712
Update README.md
mclub4 May 22, 2024
2cf4567
fix: 크롤링 당일 것만 되도록 수정
mclub4 May 22, 2024
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
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- develop-back
- main
permissions:
contents: read

Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ build/
!**/src/main/**/build/
!**/src/test/**/build/

### for android build ###
front/capstone_front/android/settings.gradle
front/capstone_front/android/app/release/

### STS ###
.apt_generated
.classpath
Expand Down Expand Up @@ -35,4 +39,4 @@ out/

### VS Code ###
.vscode/
.env
.env
80 changes: 57 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
## 0. 중간발표 자료
# 👋 외국인 유학생들을 위한 앱, 외국민
![최종 발표자료](https://github.com/kookmin-sw/capstone-2024-30/assets/52407470/20fc41c1-8a22-4c90-a1f1-8539dea92ed1)

[https://drive.google.com/drive/folders/1qLw6-LrNG9_9Of6zh4YmYm2VoOt31NlA?usp=drive_link](https://drive.google.com/drive/folders/1qLw6-LrNG9_9Of6zh4YmYm2VoOt31NlA?usp=drive_link)
[중간발표 자료 및 보고서](https://drive.google.com/drive/folders/1qLw6-LrNG9_9Of6zh4YmYm2VoOt31NlA?usp=drive_link)

[최종발표 자료 및 보고서](https://drive.google.com/drive/folders/1gVtsjX9nk8KhyeNu-hTzpeZjZnjj-pR8?usp=sharing)

<br>

## 1. 프로젝트 소개

이 프로젝트는 국민대학교에서 공부하는 외국인 유학생들을 위한 종합적인 앱 서비스를 개발하는 것입니다. 앱은 학생들이 캠퍼스 생활에 빠르게 적응할 수 있도록 다양한 정보와 서비스를 제공합니다.
이 프로젝트는 국민대학교 유학생들이 겪는 언어적, 문화적 불편함을 해결하기 위한 프로젝트입니다. 이 프로젝트에서 제공하는 앱에서 유학생들이 캠퍼스 생활에 빠르게 적응할 수 있도록 다양한 정보와 서비스를 제공합니다.

<br>

Expand All @@ -18,9 +21,35 @@ This project aims to develop a comprehensive app service for international stude

## 3. 프로젝트 기능

### 기능 1
#### 1️⃣ 번역된 공지사항 / 학식 / 학교정보 제공

국민대학교에서는 공지사항, 학식, 학교정보의 번역을 잘 지원하지 않습니다. 이에따라 외국인 유학생들은 매번 번역기를 사용하여 학교에 대한 정보를 얻기 때문에 정보의 접근성이 낮습니다.

따라서, 외국민 서비스는 설정한 언어에 맞춰서 공지사항/학식/학교정보 번역본을 제공합니다.

#### 2️⃣ 챗봇 기능

국민대학교에서는 ON국민 챗봇 "쿠민이"를 서비스하고있으나, 성능이 매우 형편없습니다. 간단한 질문에도 동문서답을 하거나, 영어로 질문했는데 한글로 답변하는 등 전혀 챗봇으로서의 기능을 수행하지 못하고 있습니다.

따라서, 외국민은 RAG와 LLM을 사용하여 국민대학교에 특화된 답변을 제공하고 다국어를 지원하는 "KuKu" 챗봇을 제공합니다.

#### 3️⃣ 발음 교정 기능

많은 외국인들은 한국에 와서 언어 문제로 힘들어합니다. 특히 학교 생활을 하다보면 발표를 하거나 일상생활에서 의사소통을 해야할 때, 본인의 발음이 정확한지 확인할 방법이 없어서 힘들어합니다.

따라서, 외국민은 자신의 발표 스크립트를 입력으로 넣어서 발음 평가를 받을 수 있을 뿐만 아니라, 한국의 일상생활에서 많이 쓰이는 여러 표현들을 연습할 수 있도록하여 한국 유학생활을 돕고자 합니다.

#### 4️⃣ 헬퍼 매칭 기능

많은 외국인들이 낯선 땅에 왔을 때 도움을 받을 사람이 없어서 매우 힘들어합니다.

### 기능 2
따라서, 외국민은 외국인들을 도울 수 있도록 헬퍼 매칭 기능을 제공합니다. 한국인 or 오랜 유학생활을 하여 한국 생활에 익숙해진 외국인 헬퍼를 구할 수 있도록 커뮤니티를 제공합니다.

#### 5️⃣ Q&A와 FAQ 기능

유학생들이 한국생활에서 궁금한 것을 물어볼만한 곳이 마땅치 않고, ON국민에 있는 FAQ의 존재를 알기 쉽지 않습니다. 하지만, 이 FAQ 또한 번역을 제공하지 않고 있습니다.

따라서, 외국민은 Q&A 게시판과 다국어로 번역된 FAQ를 제공합니다.

<br>

Expand Down Expand Up @@ -82,7 +111,7 @@ This project aims to develop a comprehensive app service for international stude

## 6. 기술스택

### Frontend
### 🛠 Frontend

|역할|종류|
|-|-|
Expand All @@ -98,13 +127,13 @@ This project aims to develop a comprehensive app service for international stude
|-|-|
|Framework|<img alt="RED" src ="https://img.shields.io/badge/SPRING Boot-6DB33F.svg?&style=for-the-badge&logo=SpringBoot&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Spring Security-6DB33F.svg?&style=for-the-badge&logo=springsecurity&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Spring Cloud Gateway-6DB33F.svg?&style=for-the-badge&logo=Spring&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Ruby On Rails-D30001.svg?&style=for-the-badge&logo=rubyonrails&logoColor=white"/>|
|Database|<img alt="RED" src ="https://img.shields.io/badge/MySQL-4479A1.svg?&style=for-the-badge&logo=MySQL&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Redis-DC382D.svg?&style=for-the-badge&logo=Redis&logoColor=white"/>|
|Programming Language|<img alt="RED" src ="https://img.shields.io/badge/JAVA-004027.svg?&style=for-the-badge&logo=Jameson&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Ruby-CC342D.svg?&style=for-the-badge&logo=Ruby&logoColor=white"/>|
|API|![REST](https://img.shields.io/badge/Rest-4B3263?style=for-the-badge&logo=rest&logoColor=white)
|Test|<img alt="RED" src ="https://img.shields.io/badge/JUnit5-25A162.svg?&style=for-the-badge&logo=JUnit5&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Test Conatiner-333333.svg?&style=for-the-badge&logo=linuxcontainers&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Jacoco-85EA2D.svg?&style=for-the-badge&logo=jacoco&logoColor=white"/>|
|Programming Language|<img alt="RED" src ="https://img.shields.io/badge/JAVA-004027.svg?&style=for-the-badge&logo=Jameson&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Ruby-CC342D.svg?&style=for-the-badge&logo=Ruby&logoColor=white"/>|
|Test|<img alt="RED" src ="https://img.shields.io/badge/JUnit5-25A162.svg?&style=for-the-badge&logo=JUnit5&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Test Conatiner-333333.svg?&style=for-the-badge&logo=linuxcontainers&logoColor=white"/> |
|Deploy|<img alt="RED" src ="https://img.shields.io/badge/Nginx-009639.svg?&style=for-the-badge&logo=nginx&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Docker-2496ED.svg?&style=for-the-badge&logo=docker&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Amazon EC2-FF9900.svg?&style=for-the-badge&logo=AmazonEC2&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Amazon Rds-527FFF.svg?&style=for-the-badge&logo=AmazonRds&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Amazon S3-569A31.svg?&style=for-the-badge&logo=AmazonS3&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Amazon Route 53-8C4FFF.svg?&style=for-the-badge&logo=Amazon Route 53&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Certbot-FF1E0D.svg?&style=for-the-badge&logo=Certbot&logoColor=white"/>|
|CI/CD|<img alt="RED" src ="https://img.shields.io/badge/Github Actions-2088FF.svg?&style=for-the-badge&logo=githubactions&logoColor=white"/>|
|ETC|<img alt="RED" src ="https://img.shields.io/badge/Azure Speech SDK-0078D4.svg?&style=for-the-badge&logo=Microsoft Azure&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/Let's Encrypt-003A70.svg?&style=for-the-badge&logo=letsencrypt&logoColor=white"/> <img alt="RED" src ="https://img.shields.io/badge/DeepL-0F2B46.svg?&style=for-the-badge&logo=DeepL&logoColor=white"/>|
<br />
<br />


### 📻 AI

Expand Down Expand Up @@ -133,7 +162,12 @@ This project aims to develop a comprehensive app service for international stude
### 💻 서비스 아키택처

<br>
<img src ="https://github.com/kookmin-sw/capstone-2024-30/assets/55117706/9ca1e9f4-7ac4-4930-b89b-72e4a489035d" width = "800">
<img src = "https://github.com/kookmin-sw/capstone-2024-30/assets/55117706/dc5dc4de-8111-46c0-bd60-34f5e15a3f9a" width=800>

### 🤖 챗봇 아키텍처

<br>
<img src = "https://github.com/kookmin-sw/capstone-2024-30/assets/55117706/e059e861-d395-4634-bcab-8de9aea6fcaf" width=900>

### 📂 디렉토리 구조

Expand All @@ -155,18 +189,6 @@ This project aims to develop a comprehensive app service for international stude

## 8. 사용법

### Backend

`.env.example`을 바탕으로 `.env`를 작성합니다. 그 다음

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

를 통해 docker compose를 통하여 실행하시면 됩니다. 이미지는 모두 Dockerhub에 업로드 되어 있습니다.

<br>

### Frontend

#### 1. 플러터 설치
Expand Down Expand Up @@ -195,6 +217,18 @@ flutter run

<br>

### Backend

`.env.example`을 바탕으로 `.env`를 작성합니다. 그 다음

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

를 통해 docker compose를 통하여 실행하시면 됩니다. 이미지는 모두 Dockerhub에 업로드 되어 있습니다.

<br>

### AI

### Chat bot `KUKU` 소개
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ public GatewayFilter apply(Config config) {
GatewayFilter filter = (exchange, chain) -> {
String requiredRole = config.getRequiredRole();
ServerHttpRequest request = exchange.getRequest();
log.info("요청한 uri : " + request.getURI());

if (!request.getHeaders().containsKey(HttpHeaders.AUTHORIZATION))
throw JwtTokenInvalidException.INSTANCE;

String token = request.getHeaders()
.getFirst(HttpHeaders.AUTHORIZATION).replace("Bearer ", "");

log.info("Authorization Token : {}", token);

if (!validateToken(token)) {
throw JwtTokenInvalidException.INSTANCE;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package com.gateway.backgateway.filter;

import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.core.io.buffer.DataBufferUtils;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.http.server.reactive.ServerHttpRequestDecorator;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.nio.charset.StandardCharsets;

@Slf4j
@Configuration
public class GlobalLoggingFilter {

private final ObjectMapper objectMapper = new ObjectMapper();

@Bean
@Order(-1)
public GlobalFilter preLoggingFilter() {
return (exchange, chain) -> {
ServerHttpRequest request = exchange.getRequest();
return DataBufferUtils.join(request.getBody())
.flatMap(dataBuffer -> {
byte[] bodyBytes = new byte[dataBuffer.readableByteCount()];
dataBuffer.read(bodyBytes);
DataBufferUtils.release(dataBuffer);
String bodyString = new String(bodyBytes, StandardCharsets.UTF_8);
String jsonBody;
try {
Object json = objectMapper.readValue(bodyString, Object.class);
jsonBody = objectMapper.writeValueAsString(json);
} catch (Exception e) {
jsonBody = bodyString;
}

log.info("Global Filter Start: request id -> {}", request.getId());
log.info("Request: {} {}", request.getMethod(), request.getURI());
log.info("Request Body: {}", jsonBody);

return chain.filter(exchange);
});
};
}

@Bean
@Order(Ordered.LOWEST_PRECEDENCE)
public GlobalFilter postLoggingFilter() {
return (exchange, chain) -> {
return chain.filter(exchange).then(Mono.fromRunnable(() -> {
log.info("Response: " + exchange.getResponse().getStatusCode());
}));
};
}
}
8 changes: 8 additions & 0 deletions back-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@ spring:
data: 0



jwt:
secret:
key: ${JWT_SECRET}


server:
port: 8081
chatbot-url: ${CHATBOT_URL}

logging:
level:
root: INFO
com:
gateway:
backgateway: DEBUG
37 changes: 36 additions & 1 deletion back/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
# JWT Secret Key
JWT_SECRET=
JWT_ACCESS_EXPIRATION_TIME=
JWT_REFRESH_EXPIRATION_TIME=

# HMAC
HMAC_SECRET=
HMAC_ALGORITHM=
HMAC_ALGORITHM=

#DeepL
DeepL_API_KEY=

#MYSQL
DB_ENDPOINT=
DB_PORT=
DB_NAME=
MYSQL_USERNAME=
MYSQL_PASSWORD=

#TEST
TEST_KEY=

#Azure
Azure_API_KEY=

##REDIS
REDIS_HOST=
REDIS_PORT=

## S3
S3_ACCESS_KEY=
S3_SECRET_KEY=

## Ruby On Rails Production Key
SECRET_KEY_BASE=

## Nginx ENV
SERVER_NAME=

## CHAT BOT ENV
CHATBOT_URL=
Loading