-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from dhktjr0204/develop
merge develop to feature/quiz
- Loading branch information
Showing
22 changed files
with
1,034 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,54 @@ | ||
![20240229152145.png](..%2F20240229152145.png) | ||
# 백엔드 도우미 프로젝트 | ||
|
||
## 개발 목적 | ||
백엔드 오르미 부트캠프 학생들을 위해 코딩테스트 관련 주제를 설명 및 질문을 받을 수 있는 페이지를 제공하며 | ||
퀴즈와 정답을 출제할 수 있는 페이지를 제공하여 백엔드 개발자가 되는데 도움이 되고자 만들었습니다. | ||
## 📋 프로젝트 소개 | ||
<p><strong>ESTsoft</strong> 백엔드 개발자 <strong>오르미 4기</strong>에서 프로젝트를 진행하고 있는 <strong>도우미</strong>입니다. </p> | ||
<p><strong>Bend Doumi</strong>는 코딩 테스트 준비와 지식 공유를 위한 커뮤니티입니다.</p> | ||
<p>알고리즘이 설명되어 있는 <strong>알고리즘 페이지</strong>와 코딩 테스트 관련 문제를 질문할 수 있는 <strong>코딩 테스트 준비 페이지</strong>와 | ||
<br> | ||
자신이 알고 있는 지식에 대해 질문과 답을 등록하여 다른 이용자들이 퀴즈 형식으로 학습할 수 있게 함으로써, 지식을 테스트하고 공유하는 | ||
<strong>퀴즈 페이지</strong>가 있습니다.<br> | ||
여기서는 모두가 질문하고,가르치면서 함께 배우고 성장할 수 있습니다. | ||
|
||
<br><br> | ||
|
||
## 개발 기간 | ||
2월 ~ 3월(1 ~ 2개월) | ||
## 🚩 프로젝트 목표 | ||
클린 코드 작성을 통해 코드의 가독성과 유지 보수성을 향상시켜 개발 과정을 원활하게 만드는 것을 목표로 개발하였습니다. | ||
|
||
## 개발 인원 | ||
4명 | ||
GitHub을 활용하여 프로젝트를 관리하고 코드를 공유하며, 코드 리뷰를 진행함으로써 팀원들 간의 프로젝트 이해도를 향상시켰습니다. | ||
|
||
<br><br> | ||
|
||
## 📆 프로젝트 진행기간 | ||
- 2024-02-13 ~ 2024-03-20 | ||
|
||
<br><br> | ||
|
||
## 👨🏻💻 개발 인원 : 3명 | ||
강한주, 강성훈, 정지원 | ||
|
||
<br><br> | ||
|
||
## 🔗 배포 주소 | ||
http://bend-doumi.com:8080/ | ||
|
||
## ⚙️Skills | ||
|
||
### Languages | ||
[![My Skills](https://skillicons.dev/icons?i=spring,java,js,html,css)](https://skillicons.dev) | ||
|
||
### Tools | ||
[![My Skills](https://skillicons.dev/icons?i=idea,gradle,github,figma)](https://skillicons.dev) | ||
|
||
### DataBase | ||
[![My Skills](https://skillicons.dev/icons?i=mysql)](https://skillicons.dev) | ||
|
||
### OS | ||
[![My Skills](https://skillicons.dev/icons?i=windows,ubuntu)](https://skillicons.dev) | ||
|
||
### Deploy | ||
[![My Skills](https://skillicons.dev/icons?i=aws,githubactions)](https://skillicons.dev) | ||
|
||
### 🔌 API | ||
- toast UI API | ||
|
||
## ✅ 기능 구현 목록 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,7 @@ default RowMapper<User> userRowMapper() { | |
return user; | ||
}); | ||
} | ||
} | ||
|
||
void deleteUser(Long userId); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,29 @@ | ||
function clickToGoMyCodingtestPost() { | ||
let id = document.getElementById('myPage_userName').getAttribute( | ||
'data-userid'); | ||
switchHighlight('coteType'); | ||
$.ajax({ | ||
//JS에 백틱을 써서 템플릿 리터럴을 사용했다 | ||
url: `/user/${id}/codingtest/posts`, | ||
type: "GET", | ||
success: function (data) { | ||
$('.show_user_wrote .table_container .postList').html(data); | ||
console.log(data); | ||
}, | ||
error: function (error) { | ||
console.log(error); | ||
} | ||
}); | ||
} | ||
|
||
function clickToGoMyQuizPost() { | ||
let id = document.getElementById('myPage_userName').getAttribute( | ||
'data-userid'); | ||
switchHighlight('quizType'); | ||
$.ajax({ | ||
url: `/user/${id}/quiz/posts`, | ||
type: "GET", | ||
success: function (data) { | ||
$('.show_user_wrote .table_container .postList').html(data); | ||
console.log(data); | ||
}, | ||
error: function (error) { | ||
console.log(error); | ||
} | ||
}); | ||
} | ||
function clickToGoLeaveMembership(event) { | ||
event.preventDefault(); | ||
|
||
function clickToGoMyCommentPost() { | ||
let id = document.getElementById('myPage_userName').getAttribute( | ||
'data-userid'); | ||
switchHighlight('commentType'); | ||
$.ajax({ | ||
url: `/user/${id}/comment/posts`, | ||
type: "GET", | ||
success: function (data) { | ||
$('.show_user_wrote .table_container .postList').html(data); | ||
console.log(data); | ||
}, | ||
error: function (error) { | ||
console.log(error); | ||
} | ||
}); | ||
} | ||
const isConfirmed = confirm("Bend Doumi에서 탈퇴하시겠습니까?"); | ||
|
||
function switchHighlight(selectedId) { | ||
let items = ['coteType', 'quizType', 'commentType']; | ||
if (isConfirmed) { | ||
// 사용자 ID 가져오기 | ||
let id = document.getElementById('myPage_userName').getAttribute( | ||
'data-userid'); | ||
|
||
items.forEach(function (id) { | ||
document.getElementById(id).style.color = ''; // 원래 색상으로 초기화 | ||
}); | ||
|
||
document.getElementById(selectedId).style.color = '#04B45F'; | ||
fetch(`/user/${id}/delete`, { | ||
method: 'DELETE', | ||
}) | ||
.then(response => { | ||
if (response.ok) { | ||
alert("탈퇴 처리가 완료되었습니다."); | ||
window.location.replace('/user/login'); | ||
} else { | ||
alert("탈퇴 처리 중 오류가 발생했습니다."); | ||
} | ||
}) | ||
.catch(error => { | ||
console.error('탈퇴 요청 실패:', error); | ||
alert("탈퇴 처리 중 문제가 발생했습니다."); | ||
}); | ||
} else { | ||
alert("탈퇴 절차가 취소되었습니다."); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ body { | |
|
||
/*header 파트*/ | ||
.move_to_algorithm { | ||
/*color: #04B45F;*/ | ||
color: #04B45F; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
html, | ||
body { | ||
height: 100%; | ||
min-height: 100vh; | ||
} | ||
|
||
body { | ||
display: flex; | ||
flex-direction: column; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
main { | ||
flex: 1; | ||
width: 100%; | ||
flex: 1; | ||
width: 100%; | ||
} | ||
|
||
footer{ | ||
width: 100%; | ||
padding: 70px 0 40px 0; | ||
/*border-top: 1px solid #C4C4C4;*/ | ||
footer { | ||
width: 100%; | ||
padding: 70px 0 40px 0; | ||
/*border-top: 1px solid #C4C4C4;*/ | ||
} | ||
|
||
.footer-wrapper{ | ||
display: flex; | ||
justify-content: space-between; | ||
max-width: 900px; | ||
margin: 0 auto; | ||
.footer-wrapper { | ||
display: flex; | ||
justify-content: space-between; | ||
max-width: 900px; | ||
margin: 0 auto; | ||
} | ||
|
||
.boot-camp-info{ | ||
font-size: 13px; | ||
font-weight: 500; | ||
display: flex; | ||
align-items: center; | ||
.boot-camp-info { | ||
font-size: 13px; | ||
font-weight: 500; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.footer-img{ | ||
width: 40px; | ||
.footer-img { | ||
width: 40px; | ||
} | ||
|
||
.helper{ | ||
font-size: 13px; | ||
display: flex; | ||
align-items: center; | ||
.helper { | ||
font-size: 13px; | ||
display: flex; | ||
align-items: center; | ||
} |
Oops, something went wrong.