{"id":20789941,"url":"https://github.com/jaeyeonme/readit","last_synced_at":"2026-04-11T09:01:56.500Z","repository":{"id":154630648,"uuid":"454035528","full_name":"jaeyeonme/readit","owner":"jaeyeonme","description":"레딧과 같은 사용자 중심의 상호작용과 소통을 중심으로 한 플랫폼으로, 다양한 주제와 관심사를 공유하고 의견을 나누는 커뮤니티를 만드는 것이 목표입니다.","archived":false,"fork":false,"pushed_at":"2023-08-13T03:21:02.000Z","size":135805,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T18:12:03.166Z","etag":null,"topics":["backend","hibernate","java","mysql","redis","spring-boot","spring-data-jpa"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaeyeonme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-31T14:21:34.000Z","updated_at":"2023-05-29T15:19:58.000Z","dependencies_parsed_at":"2024-11-17T15:35:01.217Z","dependency_job_id":"ff031c6c-7556-4085-91e1-1d253a3a40ff","html_url":"https://github.com/jaeyeonme/readit","commit_stats":null,"previous_names":["jaeyeonme/readit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaeyeonme/readit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyeonme%2Freadit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyeonme%2Freadit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyeonme%2Freadit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyeonme%2Freadit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaeyeonme","download_url":"https://codeload.github.com/jaeyeonme/readit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyeonme%2Freadit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","hibernate","java","mysql","redis","spring-boot","spring-data-jpa"],"created_at":"2024-11-17T15:30:03.687Z","updated_at":"2026-04-11T09:01:56.460Z","avatar_url":"https://github.com/jaeyeonme.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/jaeyeonme/simple-blog/blob/main/picture/Reddit-removebg.png?raw=true\" width=\"30%\"\u003e\u003c/p\u003e\n\n\u003cdiv align = \"center\" \u003e \n  \u003cb\u003e \"레딧 스타일의 창의적 커뮤니티 플랫폼\" \u003c/b\u003e\n  \u003cp/\u003e\n  \u003cp\u003e 사용자들이 다양한 주제와 관심사를 공유하며, 서로 의견을 교환할 수 있는 블로그 서비스를 제공합니다. \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## ✏ 무엇을 경험하려고 하는건가요? \n- 테스트 코드 작성과 테스트 커버리지를 높이기 위한 방법들을 적용하기 위해 노력했습니다.\n- 코드의 재사용성, 확장성 및 유지 보수성 향상을 위해 OOP원칙을 적용하려고 노력했습니다.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## ✏ Project Structure\n\u003cp align=\"left\"\u003e\n  \u003cdiv align=\"left\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/59726665/245748305-241da97a-6475-43f0-890a-d2d95c0d8238.png\" width=\"75%\"/\u003e\u003c/div\u003e\n  \u003cbr\u003e  \n\u003c/p\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## 게시글 API 명세서\n|HTTP Method|URL Path|Status Code|Description|\n|:-----:|:-----:|:-----:|:-----:|\n| POST | /api/posts | 201 (Created) | 새로운 게시글 작성 |\n| GET | /api/posts | 200 (OK) | 모든 게시글 가져오기 (키워드 검색 가능) |\n| GET | /api/posts/{id} | 200 (OK) | 게시글 ID로 가져오기 |\n| PUT | /api/posts/{id} | 200 (OK) | 게시글 ID로 수정 |\n| DELETE | /api/posts/{id} | 200 (OK) | 게시글 ID로 삭제 |\n\n\u003cbr\u003e\n\n## 댓글 API 명세서\n|HTTP Method|URL Path|Status Code|Description|\n|:-----:|:-----:|:-----:|:-----:|\n| POST | /api/posts/{postId}/comments | 201 (Created) | 새로운 댓글 작성 |\n| POST | /api/posts/{postId}/comments/{commentId} | 201 (Created) | 대댓글 |\n| GET | /api/posts/{postId}/comments | 200 (OK) | 게시글에 해당하는 댓글 가져오기 |\n| GET | /api/posts/{postId}/comments/{commentId} | 200 (OK) | 댓글 ID로 가져오기 |\n| PUT | /api/posts/{postId}/comments/{commentId} | 200 (OK) | 댓글 ID로 수정 |\n| DELETE | /api/posts/{postId}/comments/{commentId} | 200 (OK) | 댓글 ID로 삭제 |\n\n\u003cbr\u003e\n\n## 멤버 API 명세서\n|HTTP Method|URL Path|Status Code|Description|\n|:-----:|:-----:|:-----:|:-----:|\n| POST | /members/register | 201 (Created) | 회원가입 |\n| POST | /members/sign-in | 200 (OK) | 로그인 |\n| POST | /members/logout | 200 (OK) | 로그아웃 |\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n# :pushpin: 배포(수정중)\n\u003e \n- AWS EC2 기간이 끝나서 Heroku로 이동중입니다.\n\n\u003c/br\u003e\n\n## 1. 제작 기간\n- 2022년 10월 10일 ~ 10월 15일\n- 개인 프로젝트\n\n\u003c/br\u003e\n\n## 2. 사용 기술\n#### `Back-end`\n  - Java 11\n  - Spring Boot 2.5.9\n  - Gradle\n  - Spring Data JPA\n  - MySQL\n  - Swagger\n\n\n#### `Heroku`\n  - MySQL\n\n\u003c/br\u003e\n\n## 3. ERD 설계\n\u003cimg src=\"https://github.com/jaeyeonme/spring-blog/blob/main/picture/erd.png?raw=true\" width=\"600\" height=\"600\"\u003e\n\n\u003cbr\u003e\n\n## 4. DTO\n  - Request, Resonse DTO를 따로 생성하지 않고 -\u003e modelmapper로 DTO 통합 \n  - open-session-in-view true가 default 값이므로, Service Layer에서 (Entity -\u003e DTO 변환)\n\n\u003cbr\u003e\n  \n## 5. 연관관계 처리\n  - 게시글과 댓글 1:N 연관관계 처리를 하였습니다., 고아객체 와 영속성전이(CASCADE)와 고아 객체(PrphanRemoval)로 세팅해서 부모엔티티가 변경되면 자식 엔티티도 같이 변경될 수 있도록 설정하였습니다.\n\n```java\n@OneToMany(mappedBy = \"post\", cascade = CascadeType.ALL, orphanRemoval = true)\nprivate Set\u003cComment\u003e comments = new HashSet\u003c\u003e();\n\n...\n\n// 여러개(댓글)에 하나의 포스트, 포스트 클래스 : OneToMany 하나의 포스트에 여러개 댓글\n@ManyToOne(fetch = FetchType.LAZY)\nprivate Post post;\n```\n\n\u003cbr\u003e\n\n## 6. 추가작업 중\n - JWT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaeyeonme%2Freadit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaeyeonme%2Freadit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaeyeonme%2Freadit/lists"}