localhost:3000/api
회원가입 (POST) => /users/signup
로그인 (POST) => /users/login
로그아웃 (POST) => /users/logout
사용자 정보 조회 (GET) => /users/:userId
사용자 정보 수정 (PATCH) => /users/:userId
회원탈퇴 (DELETE) => /users/:userId
게시글 생성 (POST) => /posts
게시글 목록 조회 (GET) => /posts
게시글 상세 조회 (GET) => /posts/:postId
게시글 수정 (PUT) => /posts/:postId
게시글 삭제 (DELETE) => /posts/:postId
게시글 좋아요 (POST) -> /posts/:postId/like
게시글 좋아요 취소 (DELETE) -> /posts/:postId/like
게시글 신고 (POST) -> /posts/:postId/report
게시글 신고 취소 (DELETE) -> /posts/:postId/report
댓글 생성 (POST) => /posts/:postId/comments
댓글 조회 (GET) => /posts/:postId/comments
댓글 수정 (PUT) => /posts/:postId/comments/:commentId
댓글 삭제 (DELETE) => /posts/:postId/comments/:commentId
댓글 좋아요 (POST) -> /posts/:postId/comments/:commentId/like
댓글 좋아요 취소 (DELETE) -> /posts/:postId/comments/:commentId/like
댓글 신고 (POST) -> /posts/:postId/comments/:commentId/report
댓글 신고 취소 (DELETE) -> /posts/:postId/comments/:commentId/report
├─ .gitignore
├─ app.js
├─ middlewares
│ └─ authMiddleware.js
├─ migrations
│ ├─ 20230704130124-create-users.js
│ ├─ 20230704130136-create-posts.js
│ ├─ 20230704130144-create-comments.js
│ ├─ 20230705155509-create-post-likes.js
│ ├─ 20230706022632-create-comment-likes.js
│ ├─ 20230710084348-create-comment-report.js
│ └─ 20230710084351-create-post-report.js
├─ models
│ ├─ commentlikes.js
│ ├─ commentreport.js
│ ├─ comments.js
│ ├─ index.js
│ ├─ postlike.js
│ ├─ postreport.js
│ ├─ posts.js
│ └─ users.js
├─ routes
│ ├─ commentlikes.js
│ ├─ commentReport.js
│ ├─ comments.js
│ ├─ postlikes.js
│ ├─ postReport.js
│ ├─ posts.js
│ └─ users.js
├─ package-lock.json
├─ package.json
└─ seeders