Skip to content
Snippets Groups Projects
Name Last commit Last update
backend
frontend
.gitignore
README.md

SicDoRak

팀원

정현우, 이재용, 현광빈

테스트방법

프론트: cd frontend; npm run start

백앤드: cd backend; npm run start

프론트 백 모두 문서 저장되면 다시 로딩 되니까 두개 한번에 켜놓고 수정하시면 되시겠습니다.

Auth Specification

Method Path Message Format(JSON) 설명
POST /auth/login {
"email": string,
"name": string,
"sub": string,
"picture": string,
}
로그인 요청
GET /auth/logout 로그아웃 요청
GET /auth/session 세션 연결 확인 요청

Article Specification

Method Path Message Format(JSON) 설명
POST /article {
"title": string,
"content": string,
"img": string[],
"keyword": string,
"latitiude":number,
"longitude": number
}
게시글 작성 요청
DELETE /article/[id] 특정 게시글 삭제 요청
GET /article?keyword=?criteria= 조건에 맞는 전체 게시글 요청
GET /article/[id] 특정 게시글 요청
GET /article/user/[userId] 특정 사용자의 게시글 요청
GET /article/search/[keyword] 키워드로 게시글 검색 요청
GET /article/sort/[crit] 게시글 정렬 요청
POST /article/[id]/comment {
"content": string
}
댓글 작성 요청
DELETE /article/[articleId]/comment/[commentId] 특정 댓글 삭제 요청
PUT /article/[id]/like 게시글 좋아요 요청