Skip to content

gemdoq/mutsa_sns

Repository files navigation


💬 프로젝트 설명

likelion
회원 가입게시글 작성 · 조회 · 수정 · 삭제 · 댓글 · 좋아요 등을 할 수 있는 SNS 웹 페이지 구현


▶ 📃 Swagger 주소

http://ec2-43-200-177-246.ap-northeast-2.compute.amazonaws.com:8080/swagger-ui/

🔨 TECH STACK

Spring Boot Spring Security GitLab MySQL MariaDB Amazon EC2 Docker


▶ 개발환경

  • 에디터 : Intellij Ultimate
  • 개발 툴 : SpringBoot 2.7.5
  • 자바 : JAVA 11
  • 빌드 : Gradle 6.8
  • 서버 : AWS EC2
  • 배포 : Docker
  • 데이터베이스 : MySQL, MariaDB
  • 필수 라이브러리 : SpringBoot Web, MySQL, MariaDB, Spring Data JPA, Lombok, Spring Security

▶ Architectures

architecture


▶ ERD

erd


▶ Deployment

sudo sh deploy.sh {db.url} {db.username} {db.password} {jwt.secret} {port} {gitlab.username} {project.name}

▶ Access address

{address}:{port}

▶ 📔Endpoint

구분 HTTP URI 설명 RequestBody(Raw JSON)
USER POST api/v1/users/join 회원 가입 {"userName":"string","password":"string"}
USER POST api/v1/users/login 로그인 및 토큰 발급 {"userName":"string","password":"string"}
POST POST api/v1/posts 게시글 등록 {"title":"string","body":"string"}
POST GET api/v1/posts 게시글 리스트 조회 -
POST GET api/v1/posts/{postsId} 게시글 상세 조회 -
POST PUT api/v1/posts/{id} 게시글 수정 {"title":"string","body":"string"}
POST DELETE api/v1/posts/{id} 게시글 삭제 -
POST GET api/v1/posts/my 마이피드 조회 -
COMMENT POST api/v1/posts/{postsId}/comments 댓글 등록 {"comment":"string"}
COMMENT GET api/v1/posts/{postId}/comments 댓글 전체 조회 -
COMMENT GET api/v1/posts/{postId}/comments/{commentId} 댓글 상세 조회 -
COMMENT PUT api/v1/posts/{postId}/comments/{commentId} 댓글 수정 {"comment":"string"}
COMMENT DELETE api/v1/posts/{postId}/comments/{commentId} 댓글 삭제 -
LIKE POST api/v1/posts/{postId}/likes 좋아요 누르기 -
LIKE GET api/v1/posts/{postId}/likes 좋아요 개수 조회 -
ALARM GET api/v1/alarms 알람 조회 -

About

MutSa SNS web service - sign up/in, write, inquire, modify, delete, comment, and like posts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published