{"id":30453512,"url":"https://github.com/guhyunwoo/auth-boilerplate","last_synced_at":"2025-08-25T18:02:00.305Z","repository":{"id":310622051,"uuid":"1040565486","full_name":"guhyunwoo/auth-boilerplate","owner":"guhyunwoo","description":"내 1년간의 정수를 담은 대해커톤용 jwt 보일러플레이트 코드 모두 공식문서 기반","archived":false,"fork":false,"pushed_at":"2025-08-19T07:49:53.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-19T09:46:53.857Z","etag":null,"topics":["boilerplate","java","jwt","jwt-authentication","mysql","redis","spring-boot","spring-security-jwt"],"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/guhyunwoo.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,"zenodo":null}},"created_at":"2025-08-19T07:09:28.000Z","updated_at":"2025-08-19T07:50:44.000Z","dependencies_parsed_at":"2025-08-19T09:57:11.438Z","dependency_job_id":null,"html_url":"https://github.com/guhyunwoo/auth-boilerplate","commit_stats":null,"previous_names":["guhyunwoo/auth-boiler-plate"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/guhyunwoo/auth-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guhyunwoo%2Fauth-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guhyunwoo%2Fauth-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guhyunwoo%2Fauth-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guhyunwoo%2Fauth-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guhyunwoo","download_url":"https://codeload.github.com/guhyunwoo/auth-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guhyunwoo%2Fauth-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755350,"owners_count":24815382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["boilerplate","java","jwt","jwt-authentication","mysql","redis","spring-boot","spring-security-jwt"],"created_at":"2025-08-23T16:00:54.205Z","updated_at":"2025-08-23T16:02:50.733Z","avatar_url":"https://github.com/guhyunwoo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth-Boilerplate\n\nSpring Boot 기반 JWT 인증 보일러플레이트입니다.\n회원가입, 로그인, 로그아웃, 토큰 리프레시 등 **JWT 기반 인증** 기능을 빠르게 구현할 수 있도록 설계했습니다.\n\n---\n\n## 주요 기능\n\n*  회원가입 (Sign Up)\n*  로그인 (Login)\n*  로그아웃 (Logout)\n*  Access Token / Refresh Token 기반 인증\n*  JWT 토큰 발급 및 검증\n*  Refresh Token으로 Access Token 갱신\n\n---\n\n## 기술 스택\n\n* Java 21\n* Spring Boot 3.5.4\n* Spring Security\n* JJWT 0.12.6\n* Gradle\n* MySQL\n* Redis\n\n---\n\n## 설치 및 실행\n\n1. 레포지토리 클론\n\n```bash\ngit clone https://github.com/guhyunwoo/auth-boilerplate.git\ncd auth-boilerplate\n```\n\n2. 의존성 설치 및 빌드\n\n```\n./gradlew clean build\n```\n\n3. 애플리케이션 실행\n\n```\n./gradlew spring-boot:run\n```\n\n---\n\n## API 예시\n\n| 기능               | 엔드포인트               | 메서드  |\n| ---------------- | ------------------- | ---- |\n| 회원가입             | `/users/register`  | POST |\n| 로그인              | `/users/login`   | POST |\n| 로그아웃             | `/users/logout`  | DELETE |\n| Access Token 재발급 | `/users/refresh` | POST |\n\n\n\u003e 각 엔드포인트는 JWT 토큰을 사용하여 인증/인가 처리됩니다.\n\n---\n\n## 토큰 구조\n\n* **Access Token**: 짧은 유효기간, API 접근용\n* **Refresh Token**: 상대적으로 긴 유효기간, Access Token 갱신용\n\n---\n\n## 특징\n\n* 보일러플레이트용 구조로, 다른 프로젝트에 쉽게 통합 가능\n* Spring Security 기반으로 확장 용이\n* JWT 예외 처리 및 커스텀 응답 구조 제공\n\n---\n\n## 향후 개선 예정\n\n* OAuth2 연동\n* 이메일 인증 기능\n\n---\n\n## 라이선스\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguhyunwoo%2Fauth-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguhyunwoo%2Fauth-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguhyunwoo%2Fauth-boilerplate/lists"}